use getattr instead of gettatribute
authorFlorian Apolloner <florian@apolloner.eu>
Thu, 5 Jun 2008 21:47:12 +0000 (23:47 +0200)
committerFlorian Apolloner <florian@apolloner.eu>
Thu, 5 Jun 2008 21:47:12 +0000 (23:47 +0200)
lib/git/method_missing.py

index 478ee1d3b9b54180103423b9804803f10207d6d3..51ff8326ef50dcc34674f9eba78486413c72e50f 100644 (file)
@@ -4,7 +4,7 @@ class MethodMissingMixin(object):
 
     This was `taken from a blog post <http://blog.iffy.us/?p=43>`_
     """
-    def __getattribute__(self, attr):
+    def __getattr__(self, attr):
         try:
             return object.__getattribute__(self, attr)
         except: