Cleanup: no need to listify sum() input.

This commit is contained in:
Tommi Virtanen 2011-07-11 13:25:06 -07:00
parent deb898161b
commit c07409ef6e

View file

@ -90,7 +90,7 @@ def writer(seconds, bucket, name=None, queue=None, quantity=1, file_size=1, file
queue.put(Result(name,
type=Result.TYPE_WRITER,
time=elapsed,
size=sum([(file.size/1024) for file in files]),
size=sum((file.size/1024) for file in files),
)
)