We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a18e6d8 + b918a33 commit 4bb7b14Copy full SHA for 4bb7b14
lib/fetch.py
@@ -57,7 +57,9 @@ def _fetch_locations(known_location):
57
sys.stdout.write("Fetching %s..." % (adptr))
58
sys.stdout.flush()
59
try:
60
- process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
+ process = subprocess.Popen(
61
+ cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
62
+ universal_newlines=True)
63
except OSError:
64
print("\nERROR: %s" % cmd)
65
raise
@@ -89,6 +91,7 @@ def _fetch_locations(known_location):
89
91
if os.path.exists(location):
90
92
if skip_existing:
93
existing_locations.append(location)
94
+ print("Already exists %s" % (location))
95
else:
96
fatal("%s already exists" % location)
97
0 commit comments