gobject-introspection r777 - trunk/giscanner



Author: walters
Date: Tue Oct 21 18:25:34 2008
New Revision: 777
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=777&view=rev

Log:
Submit after session in PEP8 interrogation room


Modified:
   trunk/giscanner/transformer.py

Modified: trunk/giscanner/transformer.py
==============================================================================
--- trunk/giscanner/transformer.py	(original)
+++ trunk/giscanner/transformer.py	Tue Oct 21 18:25:34 2008
@@ -402,7 +402,8 @@
             return result
 
         # string memory management - we just look at 'const'
-        if type_name_from_ctype(ctype) == TYPE_STRING and 'transfer' not in options:
+        if (type_name_from_ctype(ctype) == TYPE_STRING
+            and 'transfer' not in options):
             if source_type.base_type.type_qualifier & TYPE_QUALIFIER_CONST:
                 options['transfer'] = ['none']
             else:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]