summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-11-23 17:20:42 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-11-23 17:20:42 (GMT)
commit23828f6d8e4ff915a675eb8964ce0934b680bcce (patch)
tree3ea5c82701d336b281570055d965d62102f6f1ff /Tools
parentb17d2aa552e0b2b5d17a036ad32aa59ddd59b2cc (diff)
downloadcpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.zip
cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.tar.gz
cpython-23828f6d8e4ff915a675eb8964ce0934b680bcce.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 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