##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51490:aea55f2a default
parent child Browse files
Show More
@@ -137,7 +137,7 b' class abstractsmartset:'
137
137
138 This is part of the mandatory API for smartset."""
138 This is part of the mandatory API for smartset."""
139 # builtin cannot be cached. but do not needs to
139 # builtin cannot be cached. but do not needs to
140 if cache and util.safehasattr(condition, b'__code__'):
140 if cache and util.safehasattr(condition, '__code__'):
141 condition = util.cachefunc(condition)
141 condition = util.cachefunc(condition)
142 return filteredset(self, condition, condrepr)
142 return filteredset(self, condition, condrepr)
143
143
General Comments 0
You need to be logged in to leave comments. Login now