##// END OF EJS Templates
obsolete: make optional offset parameter to fm*readmarkers required...
Augie Fackler -
r24014:7d9367de default
parent child Browse files
Show More
@@ -146,7 +146,7 b' usingsha256 = 2'
146 _fm0fsize = _calcsize(_fm0fixed)
146 _fm0fsize = _calcsize(_fm0fixed)
147 _fm0fnodesize = _calcsize(_fm0node)
147 _fm0fnodesize = _calcsize(_fm0node)
148
148
149 def _fm0readmarkers(data, off=0):
149 def _fm0readmarkers(data, off):
150 # Loop on markers
150 # Loop on markers
151 l = len(data)
151 l = len(data)
152 while off + _fm0fsize <= l:
152 while off + _fm0fsize <= l:
@@ -285,7 +285,7 b' def _fm0decodemeta(data):'
285 _fm1metapair = 'BB'
285 _fm1metapair = 'BB'
286 _fm1metapairsize = _calcsize('BB')
286 _fm1metapairsize = _calcsize('BB')
287
287
288 def _fm1readmarkers(data, off=0):
288 def _fm1readmarkers(data, off):
289 # make some global constants local for performance
289 # make some global constants local for performance
290 noneflag = _fm1parentnone
290 noneflag = _fm1parentnone
291 sha2flag = usingsha256
291 sha2flag = usingsha256
General Comments 0
You need to be logged in to leave comments. Login now