diff options
author | Florian Apolloner <florian@apolloner.eu> | 2008-06-05 23:47:12 +0200 |
---|---|---|
committer | Florian Apolloner <florian@apolloner.eu> | 2008-06-05 23:47:12 +0200 |
commit | 3d203a0da0c709d301e973a9fe3569efd1fb2bd3 (patch) | |
tree | c213ae47ebcae84cb1e84c1e336987dcb556b1c1 /lib/git/method_missing.py | |
parent | 4043468de4fc448b6fda670f33b7f935883793a7 (diff) | |
download | gitpython-3d203a0da0c709d301e973a9fe3569efd1fb2bd3.tar.gz |
use getattr instead of gettatribute
Diffstat (limited to 'lib/git/method_missing.py')
-rw-r--r-- | lib/git/method_missing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/method_missing.py b/lib/git/method_missing.py index 478ee1d3..51ff8326 100644 --- a/lib/git/method_missing.py +++ b/lib/git/method_missing.py @@ -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: |