mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Merged revisions 81703 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81703 | martin.v.loewis | 2010-06-04 21:50:26 +0200 (Fr, 04 Jun 2010) | 10 lines Merged revisions 81701 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81701 | martin.v.loewis | 2010-06-04 21:39:07 +0200 (Fr, 04 Jun 2010) | 2 lines Issue #6470: Drop UNC prefix in FixTk.py Patch by Christop Gohlke and Amaury Forgeot d'Arc. ........ ................
This commit is contained in:
parent
9d5c7a5b9d
commit
7b6b90d448
3 changed files with 29 additions and 0 deletions
|
@ -42,6 +42,8 @@ else:
|
|||
# Ignore leading \\?\
|
||||
if s.startswith("\\\\?\\"):
|
||||
s = s[4:]
|
||||
if s.startswith("UNC"):
|
||||
s = "\\" + s[3:]
|
||||
return s
|
||||
|
||||
prefix = os.path.join(sys.prefix,"tcl")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue