Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23828f6

Browse files
committed
Undo (hopefully) buildbot failures
1 parent b17d2aa commit 23828f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/gdb/libpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def write_unicode(file, text):
116116

117117
try:
118118
os_fsencode = os.fsencode
119-
except ImportError:
119+
except AttributeError:
120120
def os_fsencode(filename):
121121
if not isinstance(filename, unicode):
122122
return filename

0 commit comments

Comments
 (0)