[Python-checkins] cpython (3.3): Undo (hopefully) buildbot failures

antoine.pitrou python-checkins at python.org
Sat Nov 23 18:22:41 CET 2013


http://hg.python.org/cpython/rev/f5a626f762f6
changeset:   87434:f5a626f762f6
branch:      3.3
parent:      87427:752db82b7933
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sat Nov 23 18:20:42 2013 +0100
summary:
  Undo (hopefully) buildbot failures

files:
  Tools/gdb/libpython.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -116,7 +116,7 @@
 
 try:
     os_fsencode = os.fsencode
-except ImportError:
+except AttributeError:
     def os_fsencode(filename):
         if not isinstance(filename, unicode):
             return filename

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list