Show More
@@ -479,7 +479,8 class cmdalias(object): | |||||
479 | return aliasargs(self.fn, args) |
|
479 | return aliasargs(self.fn, args) | |
480 |
|
480 | |||
481 | def __getattr__(self, name): |
|
481 | def __getattr__(self, name): | |
482 |
adefaults = {'norepo': True, |
|
482 | adefaults = {r'norepo': True, | |
|
483 | r'optionalrepo': False, r'inferrepo': False} | |||
483 | if name not in adefaults: |
|
484 | if name not in adefaults: | |
484 | raise AttributeError(name) |
|
485 | raise AttributeError(name) | |
485 | if self.badalias or util.safehasattr(self, 'shell'): |
|
486 | if self.badalias or util.safehasattr(self, 'shell'): |
General Comments 0
You need to be logged in to leave comments.
Login now