summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-06-04 19:46:21 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-06-04 19:46:21 (GMT)
commitc5010e0669cc54278b1887625574eb89cf7f8672 (patch)
treecd550877ecd6d2c066ad6974baaa0f35d9618402 /Lib/lib-tk
parent3bde59c7b081f8d7d3d3b0f7ed3491a8b21fe8eb (diff)
downloadcpython-c5010e0669cc54278b1887625574eb89cf7f8672.zip
cpython-c5010e0669cc54278b1887625574eb89cf7f8672.tar.gz
cpython-c5010e0669cc54278b1887625574eb89cf7f8672.tar.bz2
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. ........
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/FixTk.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/lib-tk/FixTk.py b/Lib/lib-tk/FixTk.py
index f9eaa8e..375c34c 100644
--- a/Lib/lib-tk/FixTk.py
+++ b/Lib/lib-tk/FixTk.py
@@ -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")