##// END OF EJS Templates
py3: convert diff opcode name to bytes...
Gregory Szorc -
r40192:5716d48b default
parent child Browse files
Show More
@@ -618,6 +618,7 b' def _compline(type, leftlineno, leftline'
618
618
619 def _getcompblockgen(context, leftlines, rightlines, opcodes):
619 def _getcompblockgen(context, leftlines, rightlines, opcodes):
620 for type, llo, lhi, rlo, rhi in opcodes:
620 for type, llo, lhi, rlo, rhi in opcodes:
621 type = pycompat.sysbytes(type)
621 len1 = lhi - llo
622 len1 = lhi - llo
622 len2 = rhi - rlo
623 len2 = rhi - rlo
623 count = min(len1, len2)
624 count = min(len1, len2)
General Comments 0
You need to be logged in to leave comments. Login now