Commit 9cfca891 authored by Christian Theune's avatar Christian Theune

- real representation fix

parent 722b54b5
......@@ -968,8 +968,8 @@ class ClientStorage(object):
blob_filename = self.fshelper.getBlobFilename(oid, serial)
# Case 1: Blob is available already, just use it
if os.path.exists(blob_filename):
log2("Found blob %s/%s in cache." % (utils.repr_to_oid(oid),
utils.repr_to_oid(serial)), level=BLATHER)
log2("Found blob %s/%s in cache." % (utils.oid_repr(oid),
utils.tid_repr(serial)), level=BLATHER)
return blob_filename
# Case 2,3: Blob might still be downloading or not there yet
......@@ -996,8 +996,8 @@ class ClientStorage(object):
# we just take the result.
if os.path.exists(blob_filename):
log2("Found blob %s/%s in cache after it was downloaded "
"from another thread." % (utils.repr_to_oid(oid),
utils.repr_to_oid(serial)), level=BLATHER)
"from another thread." % (utils.oid_repr(oid),
utils.tid_repr(serial)), level=BLATHER)
return blob_filename
# Otherwise we download and use that
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment