should work now. wed plz test

This commit is contained in:
Nikos Kouremenos 2005-12-26 13:28:13 +00:00
parent 4883838758
commit 6a1db9ea0f
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def temp_failure_retry(func, *args, **kwargs):
if hasattr(ex, 'errno'):
errnum = ex.errno
else:
errnum = int(str(ex)[0])
errnum = ex.args[0]
if errnum == errno.EINTR:
continue
else: