##// END OF EJS Templates
storageutil: convert fileid to bytes to avoid cast to %s...
Gregory Szorc -
r40357:6994a8be default
parent child Browse files
Show More
@@ -182,7 +182,8 b' def fileidlookup(store, fileid, identifi'
182 try:
182 try:
183 return store.node(fileid)
183 return store.node(fileid)
184 except IndexError:
184 except IndexError:
185 raise error.LookupError(fileid, identifier, _('no match found'))
185 raise error.LookupError('%d' % fileid, identifier,
186 _('no match found'))
186
187
187 if len(fileid) == 20:
188 if len(fileid) == 20:
188 try:
189 try:
General Comments 0
You need to be logged in to leave comments. Login now