Show More
@@ -138,7 +138,7 b' class monotone_source(common.converter_s' | |||
|
138 | 138 | raise error.Abort(_('bad mtn packet - no end of packet size')) |
|
139 | 139 | lengthstr += read |
|
140 | 140 | try: |
|
141 | length = long(lengthstr[:-1]) | |
|
141 | length = pycompat.long(lengthstr[:-1]) | |
|
142 | 142 | except TypeError: |
|
143 | 143 | raise error.Abort(_('bad mtn packet - bad packet size %s') |
|
144 | 144 | % lengthstr) |
General Comments 0
You need to be logged in to leave comments.
Login now