gobject-introspection r353 - trunk/giscanner
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r353 - trunk/giscanner
- Date: Tue, 12 Aug 2008 19:07:41 +0000 (UTC)
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]