From 6507e4e14337a929d4f3986a90efd8674d963a3f Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 5 Jul 2011 18:17:44 +0200 Subject: fixes python 2.6 compatibility issues --- git/db/interface.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'git/db/interface.py') 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): -- cgit v1.2.3