From 6f80e7d16a6682c3747943c9666d122857260340 Mon Sep 17 00:00:00 2001 From: utahvich Date: Sun, 17 Oct 2010 02:28:52 +0900 Subject: [PATCH] fix log --- pythonbrew | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pythonbrew b/pythonbrew index aa247c7..eba9fc5 100755 --- a/pythonbrew +++ b/pythonbrew @@ -323,11 +323,12 @@ And follow the instruction on screen.""" ) except: os.remove(download_path) - print "Interrupt to abort. `%s`" % (download_url) + print "\nInterrupt to abort. `%s`" % (download_url) sys.exit(1) # iffy - if os.path.getsize( download_path ) < 1000000: - print "Invalid file. `%s`" % (download_url) + if os.path.getsize(download_path) < 1000000: + print "Invalid file downloaded. (maybe 404 not found?) `%s`" % (download_url) + os.remove(download_path) sys.exit(1) else: if os.path.isfile(name):