summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-11 19:40:19 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-01-11 19:40:19 +0100
commit2ffaec59e7349c145a0e2a5edba2ffb7d8628369 (patch)
tree15b987ac2f56894fb763ff084383743369abd862
parent52a298cc0f05ceec96457f17f9a801e9838fb757 (diff)
downloadpygobject-2ffaec59e7349c145a0e2a5edba2ffb7d8628369.tar.gz
Go back to using getattr() in DynamicModule.__getattr__
Breaks marshalling of some types
-rw-r--r--gi/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/module.py b/gi/module.py
index 20844429..3586eace 100644
--- a/gi/module.py
+++ b/gi/module.py
@@ -251,7 +251,7 @@ class DynamicModule(object):
if key in registry:
return registry[key]
- return self.introspection_module.__getattr__(name)
+ return getattr(self.introspection_module, name)
def __dir__ (self):
repository.require(self._namespace, self._version)