diff --git a/lib/fetch.py b/lib/fetch.py index df85aea..db0c458 100644 --- a/lib/fetch.py +++ b/lib/fetch.py @@ -57,7 +57,9 @@ def fetch_all(skip_existing=True): sys.stdout.write("Fetching %s..." % (adptr)) sys.stdout.flush() try: - process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + process = subprocess.Popen( + cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) except OSError: print("\nERROR: %s" % cmd) raise @@ -89,6 +91,7 @@ def fetch_all(skip_existing=True): if os.path.exists(location): if skip_existing: existing_locations.append(location) + print("Already exists %s" % (location)) else: fatal("%s already exists" % location)