mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Undo (hopefully) buildbot failures
This commit is contained in:
parent
b17d2aa552
commit
23828f6d8e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue