diff options
author | Johan Dahlin <johan@gnome.org> | 2010-06-12 15:53:59 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-06-12 15:53:59 -0300 |
commit | d5ae084c39721d9b9b417be11008b157c269e274 (patch) | |
tree | 277fdd4fe78e6605666218136bf1ce0258b1cb68 /giscanner/glibtransformer.py | |
parent | 68c68fec813a7fa8443fa2fb7da0eeda52bfcd8c (diff) | |
download | gobject-introspection-d5ae084c39721d9b9b417be11008b157c269e274.tar.gz |
[glibtransformer] not not x -> bool(x)
Diffstat (limited to 'giscanner/glibtransformer.py')
-rw-r--r-- | giscanner/glibtransformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/glibtransformer.py b/giscanner/glibtransformer.py index 324a444f..b86a49d2 100644 --- a/giscanner/glibtransformer.py +++ b/giscanner/glibtransformer.py @@ -731,7 +731,7 @@ class GLibTransformer(object): # parent_type_names = xmlnode.attrib['parents'].split(',') parent_gitype = self._resolve_gtypename_chain(parent_type_names) - is_abstract = not not xmlnode.attrib.get('abstract', False) + is_abstract = bool(xmlnode.attrib.get('abstract', False)) node = GLibObject( self._transformer.remove_prefix(type_name), parent_gitype, |