[gobject-introspection] [annotationparser] Avoid a couple of \
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [annotationparser] Avoid a couple of \
- Date: Thu, 27 May 2010 13:12:48 +0000 (UTC)
commit 666bb8d76a648011a49f14b6db4558e256c8e31b
Author: Johan Dahlin <johan gnome org>
Date: Thu May 27 00:04:28 2010 -0300
[annotationparser] Avoid a couple of \
giscanner/annotationparser.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 1fd82cc..b1d4ea0 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -682,9 +682,9 @@ class AnnotationApplier(object):
else:
array_values = {}
- is_g_array = node.type.ctype.startswith('GArray*') or \
- node.type.ctype.startswith('GPtrArray*') or \
- node.type.ctype.startswith('GByteArray*')
+ is_g_array = (node.type.ctype.startswith('GArray*') or
+ node.type.ctype.startswith('GPtrArray*') or
+ node.type.ctype.startswith('GByteArray*'))
element_type = options.get(OPT_ELEMENT_TYPE)
if element_type is not None:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]