diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-06-04 19:50:26 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-06-04 19:50:26 (GMT) |
commit | 2d5157eb913bdf0eeefd0016ab6a621dd1727525 (patch) | |
tree | 01782abb589a3e8e05443ecd7319713bac482cd4 /Lib/tkinter/_fix.py | |
parent | b6b8110c48dd5111cf57ec83a485c517084aca41 (diff) | |
download | cpython-2d5157eb913bdf0eeefd0016ab6a621dd1727525.zip cpython-2d5157eb913bdf0eeefd0016ab6a621dd1727525.tar.gz cpython-2d5157eb913bdf0eeefd0016ab6a621dd1727525.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/tkinter/_fix.py')
-rw-r--r-- | Lib/tkinter/_fix.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/tkinter/_fix.py b/Lib/tkinter/_fix.py index c11d663..5a69d89 100644 --- a/Lib/tkinter/_fix.py +++ b/Lib/tkinter/_fix.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") |