commit | eba67c0eac27cfafb779372ef82de09aefcca262 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Fri Jun 04 19:39:07 2010 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Fri Jun 04 19:39:07 2010 +0000 |
tree | 0e5544b9e61e332b677201843970a64b0fc195d1 | |
parent | 16b2a5e0a928bb1d49598aa34bf1bb5db7071863 [diff] [blame] |
Issue #6470: Drop UNC prefix in FixTk.py Patch by Christop Gohlke and Amaury Forgeot d'Arc.
diff --git a/Lib/lib-tk/FixTk.py b/Lib/lib-tk/FixTk.py index 0d0966c..49960c7 100644 --- a/Lib/lib-tk/FixTk.py +++ b/Lib/lib-tk/FixTk.py
@@ -42,6 +42,8 @@ # Ignore leading \\?\ if s.startswith("\\\\?\\"): s = s[4:] + if s.startswith("UNC"): + s = "\\" + s[3:] return s prefix = os.path.join(sys.prefix,"tcl")