Commit 6e796ef8 authored by Nikos Skalkotos's avatar Nikos Skalkotos Committed by Giorgos Verigakis
Browse files

Fix `var not defined' bug introduced in 31231dee

parent c4bff6ac
......@@ -82,7 +82,7 @@ class PithosClient(StorageClient):
blockhash = meta['block-hash']
size = size if size is not None else os.fstat(f.fileno()).st_size
nblocks = 1 + (file_size - 1) // blocksize
nblocks = 1 + (size - 1) // blocksize
hashes = []
map = {}
......
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