summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-11-23 17:22:02 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-11-23 17:22:02 (GMT)
commit59b7ff2d4371933052717329ec12c7203b8d1cad (patch)
treeba86da2b91a2aaa22c8b0f9ba9538d9474737473 /Tools
parent94097b02c253fb9ae78c28ae44f157526c7803b6 (diff)
parent23828f6d8e4ff915a675eb8964ce0934b680bcce (diff)
downloadcpython-59b7ff2d4371933052717329ec12c7203b8d1cad.zip
cpython-59b7ff2d4371933052717329ec12c7203b8d1cad.tar.gz
cpython-59b7ff2d4371933052717329ec12c7203b8d1cad.tar.bz2
Undo (hopefully) buildbot failures
Diffstat (limited to 'Tools')
-rw-r--r--Tools/gdb/libpython.py2
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