A couple small changes to get LIT working with python3

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@226330 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2015-01-16 21:59:07 +00:00
parent 28a058bd51
commit 33f50fb940
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ class LibcxxTestFormat(lit.formats.FileBasedTest):
while True:
try:
return self._execute(test, lit_config)
except OSError, oe:
except OSError as oe:
if oe.errno != errno.ETXTBSY:
raise
time.sleep(0.1)