##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51492:921a7273 default
parent child Browse files
Show More
@@ -670,7 +670,7 b' class addset(abstractsmartset):'
670 if self._ascending:
670 if self._ascending:
671 attr = 'fastasc'
671 attr = 'fastasc'
672 else:
672 else:
673 attr = b'fastdesc'
673 attr = 'fastdesc'
674 it = getattr(self, attr)
674 it = getattr(self, attr)
675 if it is not None:
675 if it is not None:
676 return it()
676 return it()
General Comments 0
You need to be logged in to leave comments. Login now