Skip to content

Commit

Permalink
Update filelock.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mgermain committed Apr 22, 2016
1 parent 4071ea3 commit aa016da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smartdispatch/filelock.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def open_with_flock(*args, **kwargs):
break
except IOError as e:
if e.errno == errno.EDEADLK:
logging.warn("The OS complained because the process have been waiting on the lockf for {0} sec with the error ({1}: {2}). Retrying. ".format(time.time() - start_time, e.errno, e.strerror)
logging.warn("The OS complained because the process have been waiting on the lockf for {0} sec with the error ({1}: {2}). Retrying. ".format(time.time() - start_time, e.errno, e.strerror))
no_attempt += 1
else:
raise e
Expand Down

0 comments on commit aa016da

Please sign in to comment.