[maintransformer] Make warning more robust
authorJohan Dahlin <johan@gnome.org>
Mon, 20 Sep 2010 03:09:08 +0000 (00:09 -0300)
committerJohan Dahlin <johan@gnome.org>
Mon, 20 Sep 2010 03:10:04 +0000 (00:10 -0300)
commit2a70a474c2960496643cf5879158bea26c5648fa
treeeab124ef9d4a697d4a541006e314a75016d89ed7
parent597ce27a0984669997a65fd216d5ce45dbcbfa6b
[maintransformer] Make warning more robust

Instead of assuming that a parent node is always passed in,
make sure to handle that case.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629959
giscanner/maintransformer.py