##// END OF EJS Templates
py3: make adefaults keys str to be compatible with getattr...
Pulkit Goyal -
r32158:89153b0d default
parent child Browse files
Show More
@@ -479,7 +479,8 b' class cmdalias(object):'
479 479 return aliasargs(self.fn, args)
480 480
481 481 def __getattr__(self, name):
482 adefaults = {'norepo': True, 'optionalrepo': False, 'inferrepo': False}
482 adefaults = {r'norepo': True,
483 r'optionalrepo': False, r'inferrepo': False}
483 484 if name not in adefaults:
484 485 raise AttributeError(name)
485 486 if self.badalias or util.safehasattr(self, 'shell'):
General Comments 0
You need to be logged in to leave comments. Login now