[pygobject] Go back to using getattr() in DynamicModule.__getattr__
- From: Tomeu Vizoso <tomeuv src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [pygobject] Go back to using getattr() in DynamicModule.__getattr__
 
- Date: Tue, 11 Jan 2011 18:41:37 +0000 (UTC)
 
commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Tue Jan 11 19:40:19 2011 +0100
    Go back to using getattr() in DynamicModule.__getattr__
    
    Breaks marshalling of some types
 gi/module.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/module.py b/gi/module.py
index 2084442..3586eac 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)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]