Whitespace normalization.

This commit is contained in:
Tim Peters 2001-09-04 06:37:28 +00:00
parent bc1c7a0854
commit 83e7ccc9fd
5 changed files with 7 additions and 8 deletions

View file

@ -18,7 +18,7 @@ if fname[1:2] == ":":
# And more hacking to get it to work on MacOS. This assumes
# urllib.pathname2url works, unfortunately...
if os.name == 'mac':
fname = '/' + fname.replace(':', '/')
fname = '/' + fname.replace(':', '/')
file_url = "file://%s" % fname
f = urllib2.urlopen(file_url)