##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51491:80b37d26 default
parent child Browse files
Show More
@@ -668,7 +668,7 b' class addset(abstractsmartset):'
668 # try to use our own fast iterator if it exists
668 # try to use our own fast iterator if it exists
669 self._trysetasclist()
669 self._trysetasclist()
670 if self._ascending:
670 if self._ascending:
671 attr = b'fastasc'
671 attr = 'fastasc'
672 else:
672 else:
673 attr = b'fastdesc'
673 attr = b'fastdesc'
674 it = getattr(self, attr)
674 it = getattr(self, attr)
General Comments 0
You need to be logged in to leave comments. Login now