diff options
author | Colin Walters <walters@verbum.org> | 2009-08-17 07:46:22 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-08-17 07:46:22 -0400 |
commit | a1b7488c718cb6a26d1152885d8fbe1e0abb9895 (patch) | |
tree | b5aa123d062ddc27921dd0b9a726123598e317bd /giscanner/transformer.py | |
parent | ec1af4caa11788442b3b1ffae3d36bc7f53b52b8 (diff) | |
download | gobject-introspection-a1b7488c718cb6a26d1152885d8fbe1e0abb9895.tar.gz |
Bug 592055 - Build/test fixes
The last few commits regressed 'check'; fix those up.
Diffstat (limited to 'giscanner/transformer.py')
-rw-r--r-- | giscanner/transformer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py index 10d88dfe..bacdfab7 100644 --- a/giscanner/transformer.py +++ b/giscanner/transformer.py @@ -501,7 +501,8 @@ class Transformer(object): def _create_const(self, symbol): # Don't create constants for non-public things # http://bugzilla.gnome.org/show_bug.cgi?id=572790 - if symbol.source_filename is None or not symbol.source_filename.endswith('.h'): + if (symbol.source_filename is None or + not symbol.source_filename.endswith('.h')): return None name = self.remove_prefix(symbol.ident) if symbol.const_string is not None: |