##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51465:35e420ab default
parent child Browse files
Show More
@@ -734,7 +734,7 b' class cmdalias:'
734 self.name,
734 self.name,
735 self.definition,
735 self.definition,
736 )
736 )
737 if util.safehasattr(self, b'shell'):
737 if util.safehasattr(self, 'shell'):
738 return self.fn(ui, *args, **opts)
738 return self.fn(ui, *args, **opts)
739 else:
739 else:
740 try:
740 try:
General Comments 0
You need to be logged in to leave comments. Login now