summaryrefslogtreecommitdiff
path: root/git/db/interface.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-07-05 18:17:44 +0200
committerSebastian Thiel <byronimo@gmail.com>2011-07-05 18:17:44 +0200
commit6507e4e14337a929d4f3986a90efd8674d963a3f (patch)
tree72e5b3eb25a58189ef20a1ff60433a5f729644fd /git/db/interface.py
parentbf638fd0c389e3eec0c054dfb97d3a57abab918d (diff)
downloadgitpython-6507e4e14337a929d4f3986a90efd8674d963a3f.tar.gz
fixes python 2.6 compatibility issues
Diffstat (limited to 'git/db/interface.py')
-rw-r--r--git/db/interface.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/git/db/interface.py b/git/db/interface.py
index a4c05265..803f7769 100644
--- a/git/db/interface.py
+++ b/git/db/interface.py
@@ -150,7 +150,11 @@ class RootPathDB(object):
:note: The base will not perform any accessablity checking as the base
might not yet be accessible, but become accessible before the first
access."""
- super(RootPathDB, self).__init__(root_path)
+ try:
+ super(RootPathDB, self).__init__(root_path)
+ except TypeError:
+ pass
+ # END handle py 2.6
#{ Interface
def root_path(self):