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):