##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51484:886d05ed default
parent child Browse files
Show More
@@ -1703,7 +1703,7 b' def reversehunks(hunks):'
1703
1703
1704 newhunks = []
1704 newhunks = []
1705 for c in hunks:
1705 for c in hunks:
1706 if util.safehasattr(c, b'reversehunk'):
1706 if util.safehasattr(c, 'reversehunk'):
1707 c = c.reversehunk()
1707 c = c.reversehunk()
1708 newhunks.append(c)
1708 newhunks.append(c)
1709 return newhunks
1709 return newhunks
General Comments 0
You need to be logged in to leave comments. Login now