diff options
| author | Johan Dahlin <johan@src.gnome.org> | 2006-04-11 22:21:40 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2006-04-11 22:21:40 +0000 |
| commit | 6eb53cfe4d908d82615b319576a54b5f760b5924 (patch) | |
| tree | 785b536ae540f1aabdae419084cb0925d7b87774 | |
| parent | c743b718f4b210b61c72dee86d3b68a855e4c1a5 (diff) | |
| download | pygobject-6eb53cfe4d908d82615b319576a54b5f760b5924.tar.gz pygobject-6eb53cfe4d908d82615b319576a54b5f760b5924.tar.xz pygobject-6eb53cfe4d908d82615b319576a54b5f760b5924.zip | |
make gustavo happy
| -rw-r--r-- | gobject/__init__.py | 12 |
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 |
