Undo (hopefully) buildbot failures

This commit is contained in:
Antoine Pitrou 2013-11-23 18:20:42 +01:00
parent b17d2aa552
commit 23828f6d8e
1 changed files with 1 additions and 1 deletions

View File

@ -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