diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 17:20:42 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 17:20:42 (GMT) |
commit | 23828f6d8e4ff915a675eb8964ce0934b680bcce (patch) | |
tree | 3ea5c82701d336b281570055d965d62102f6f1ff /Tools/gdb/libpython.py | |
parent | b17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc (diff) | |
download | cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.zip cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.tar.gz cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.tar.bz2 |
Undo (hopefully) buildbot failures
Diffstat (limited to 'Tools/gdb/libpython.py')
-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 aa57fed..1c2c3cb 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 |