##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51504:832df74a default
parent child Browse files
Show More
@@ -301,7 +301,7 b' class hybrid(wrapped):'
301 def _wrapvalue(self, key, val):
301 def _wrapvalue(self, key, val):
302 if val is None:
302 if val is None:
303 return
303 return
304 if util.safehasattr(val, b'_makemap'):
304 if util.safehasattr(val, '_makemap'):
305 # a nested hybrid list/dict, which has its own way of map operation
305 # a nested hybrid list/dict, which has its own way of map operation
306 return val
306 return val
307 return hybriditem(None, key, val, self._makemap)
307 return hybriditem(None, key, val, self._makemap)
General Comments 0
You need to be logged in to leave comments. Login now