summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorStanislaw Pitucha <stanislaw.pitucha@hp.com>2012-08-04 18:03:11 +0100
committerStanislaw Pitucha <stanislaw.pitucha@hp.com>2012-08-05 01:21:37 +0100
commitba8675079b44ed306477674b77eae5e626020a9e (patch)
tree94c74a45dfc541dc446ba258ce198517305bb3b0 /nova/openstack
parentbeb8ea75d3321b4d5f79e008895e468491638504 (diff)
downloadnova-ba8675079b44ed306477674b77eae5e626020a9e.tar.gz
nova-ba8675079b44ed306477674b77eae5e626020a9e.tar.xz
nova-ba8675079b44ed306477674b77eae5e626020a9e.zip
Simplify file hashing
Since map() is not lazy, hash_file() created huge lists filled with `None` when hashing large files. Rewriting it to a simple loop prevents that. Change-Id: I65681f905bacc2afda52853bbe9e364b89f515a8
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions