summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2006-04-11 22:21:40 +0000
committerJohan Dahlin <johan@src.gnome.org>2006-04-11 22:21:40 +0000
commit6eb53cfe4d908d82615b319576a54b5f760b5924 (patch)
tree785b536ae540f1aabdae419084cb0925d7b87774
parentc743b718f4b210b61c72dee86d3b68a855e4c1a5 (diff)
downloadpygobject-6eb53cfe4d908d82615b319576a54b5f760b5924.tar.gz
pygobject-6eb53cfe4d908d82615b319576a54b5f760b5924.tar.xz
pygobject-6eb53cfe4d908d82615b319576a54b5f760b5924.zip
make gustavo happy
-rw-r--r--gobject/__init__.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/gobject/__init__.py b/gobject/__init__.py
index 977b825..c94003d 100644
--- a/gobject/__init__.py
+++ b/gobject/__init__.py
@@ -35,17 +35,17 @@ class GObjectMeta(type):
type.__init__(cls, name, bases, dict_)
cls._type_register(cls.__dict__)
- def _type_register(cls, ns):
+ def _type_register(cls, namespace):
## don't register the class if already registered
- if '__gtype__' in ns:
+ if '__gtype__' in namespace:
return
- if not ('__gproperties__' in ns or
- '__gsignals__' in ns or
- '__gtype_name__' in ns):
+ if not ('__gproperties__' in namespace or
+ '__gsignals__' in namespace or
+ '__gtype_name__' in namespace):
return
- type_register(cls, ns.get('__gtype_name__'))
+ type_register(cls, namespace.get('__gtype_name__'))
_gobject._install_metaclass(GObjectMeta)
del _gobject