mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Whitespace normalization.
This commit is contained in:
parent
bc1c7a0854
commit
83e7ccc9fd
5 changed files with 7 additions and 8 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue