Undo (hopefully) buildbot failures
This commit is contained in:
parent
b17d2aa552
commit
23828f6d8e
|
@ -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…
Reference in New Issue