File tree 2 files changed +15
-3
lines changed
2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,11 @@ def __init__(self, root_path):
150
150
:note: The base will not perform any accessablity checking as the base
151
151
might not yet be accessible, but become accessible before the first
152
152
access."""
153
- super (RootPathDB , self ).__init__ (root_path )
153
+ try :
154
+ super (RootPathDB , self ).__init__ (root_path )
155
+ except TypeError :
156
+ pass
157
+ # END handle py 2.6
154
158
155
159
#{ Interface
156
160
def root_path (self ):
Original file line number Diff line number Diff line change @@ -74,7 +74,11 @@ def partial_to_complete_sha_hex(self, partial_hexsha):
74
74
class PureObjectDBW (ObjectDBW ):
75
75
76
76
def __init__ (self , * args , ** kwargs ):
77
- super (PureObjectDBW , self ).__init__ (* args , ** kwargs )
77
+ try :
78
+ super (PureObjectDBW , self ).__init__ (* args , ** kwargs )
79
+ except TypeError :
80
+ pass
81
+ #END handle py 2.6
78
82
self ._ostream = None
79
83
80
84
#{ Edit Interface
@@ -352,7 +356,11 @@ class PureConfigurationMixin(ConfigurationMixin):
352
356
353
357
def __init__ (self , * args , ** kwargs ):
354
358
"""Verify prereqs"""
355
- super (PureConfigurationMixin , self ).__init__ (* args , ** kwargs )
359
+ try :
360
+ super (PureConfigurationMixin , self ).__init__ (* args , ** kwargs )
361
+ except TypeError :
362
+ pass
363
+ #END handle code-breaking change in python 2.6
356
364
assert hasattr (self , 'git_dir' )
357
365
358
366
def _path_at_level (self , level ):
You can’t perform that action at this time.
0 commit comments