diff options
author | 2013-11-23 18:20:42 +0100 | |
---|---|---|
committer | 2013-11-23 18:20:42 +0100 | |
commit | 23828f6d8e4ff915a675eb8964ce0934b680bcce (patch) | |
tree | 3ea5c82701d336b281570055d965d62102f6f1ff /Tools/gdb | |
parent | Issue #19308: fix the gdb plugin on gdbs linked with Python 3 (diff) | |
download | cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.tar.gz cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.tar.bz2 cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.zip |
Undo (hopefully) buildbot failures
Diffstat (limited to 'Tools/gdb')
-rw-r--r-- | Tools/gdb/libpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index aa57fed6212..1c2c3cb5d27 100644 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -116,7 +116,7 @@ else: try: os_fsencode = os.fsencode -except ImportError: +except AttributeError: def os_fsencode(filename): if not isinstance(filename, unicode): return filename |