From e465469578dd3c91c1fd6b73e2bf9b66859b7456 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Thu, 5 Jan 2012 13:26:33 -0500 Subject: [PATCH] arghh --- envsetup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/envsetup.py b/envsetup.py index ca2ba5d..d4c45cc 100644 --- a/envsetup.py +++ b/envsetup.py @@ -39,13 +39,11 @@ def urldownload(confurl = ""): buffer = u.read(block_sz) if not buffer: break - file_size_dl += len(buffer) f.write(buffer) status = r"%10d [%3.2f%%]" % (file_size_dl, file_size_dl * 100. / file_size) status = status + chr(8)*(len(status)+1) print status, - f.close() def confdownload():