git.samba.org
/
jelmer
/
gitpython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4043468
)
use getattr instead of gettatribute
author
Florian Apolloner
<florian@apolloner.eu>
Thu, 5 Jun 2008 21:47:12 +0000
(23:47 +0200)
committer
Florian Apolloner
<florian@apolloner.eu>
Thu, 5 Jun 2008 21:47:12 +0000
(23:47 +0200)
lib/git/method_missing.py
patch
|
blob
|
history
diff --git
a/lib/git/method_missing.py
b/lib/git/method_missing.py
index 478ee1d3b9b54180103423b9804803f10207d6d3..51ff8326ef50dcc34674f9eba78486413c72e50f 100644
(file)
--- 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 __getattr
ibute
__(self, attr):
+ def __getattr__(self, attr):
try:
return object.__getattribute__(self, attr)
except: