From: Antoine Pitrou Date: Sat, 23 Nov 2013 17:20:42 +0000 (+0100) Subject: Undo (hopefully) buildbot failures X-Git-Tag: v3.4.0b1~62^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23828f6d8e4ff915a675eb8964ce0934b680bcce;p=thirdparty%2FPython%2Fcpython.git Undo (hopefully) buildbot failures --- diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index aa57fed62120..1c2c3cb5d277 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