##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51511:17a86f65 default
parent child Browse files
Show More
@@ -1066,7 +1066,7 b' def cleanupnodes('
1066 return
1066 return
1067
1067
1068 # translate mapping's other forms
1068 # translate mapping's other forms
1069 if not util.safehasattr(replacements, b'items'):
1069 if not util.safehasattr(replacements, 'items'):
1070 replacements = {(n,): () for n in replacements}
1070 replacements = {(n,): () for n in replacements}
1071 else:
1071 else:
1072 # upgrading non tuple "source" to tuple ones for BC
1072 # upgrading non tuple "source" to tuple ones for BC
General Comments 0
You need to be logged in to leave comments. Login now