gobject-introspection r353 - trunk/giscanner



Author: walters
Date: Tue Aug 12 19:07:40 2008
New Revision: 353
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=353&view=rev

Log:
pep8


Modified:
   trunk/giscanner/glibtransformer.py

Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py	(original)
+++ trunk/giscanner/glibtransformer.py	Tue Aug 12 19:07:40 2008
@@ -122,7 +122,7 @@
                 self._resolve_function(meth)
             for ctor in node.constructors:
                 self._resolve_function(ctor)
-        elif ntype in (Struct,):
+        elif ntype in (Struct, ):
             for field in node.fields:
                 if isinstance(field, Field):
                     self._resolve_field(field)
@@ -142,7 +142,7 @@
 
     def _resolve_function(self, func):
         self._resolve_parameters(func.parameters)
-        func.retval.type = self._resolve_param_type(func.retval.type)        
+        func.retval.type = self._resolve_param_type(func.retval.type)
 
     def _resolve_parameters(self, parameters):
         for parameter in parameters:



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