##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51509:7200a9d4 default
parent child Browse files
Show More
@@ -1381,7 +1381,7 b' class unbundlepart(unpackermixin):'
1381 def __init__(self, ui, header, fp):
1381 def __init__(self, ui, header, fp):
1382 super(unbundlepart, self).__init__(fp)
1382 super(unbundlepart, self).__init__(fp)
1383 self._seekable = util.safehasattr(fp, 'seek') and util.safehasattr(
1383 self._seekable = util.safehasattr(fp, 'seek') and util.safehasattr(
1384 fp, b'tell'
1384 fp, 'tell'
1385 )
1385 )
1386 self.ui = ui
1386 self.ui = ui
1387 # unbundle state attr
1387 # unbundle state attr
General Comments 0
You need to be logged in to leave comments. Login now