diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 17:22:02 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-11-23 17:22:02 (GMT) |
commit | 59b7ff2d4371933052717329ec12c7203b8d1cad (patch) | |
tree | ba86da2b91a2aaa22c8b0f9ba9538d9474737473 /Tools/gdb | |
parent | 94097b02c253fb9ae78c28ae44f157526c7803b6 (diff) | |
parent | 23828f6d8e4ff915a675eb8964ce0934b680bcce (diff) | |
download | cpython-59b7ff2d4371933052717329ec12c7203b8d1cad.zip cpython-59b7ff2d4371933052717329ec12c7203b8d1cad.tar.gz cpython-59b7ff2d4371933052717329ec12c7203b8d1cad.tar.bz2 |
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 2b5d8be..2ad22e2 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 |