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