Merge pull request #3 from cloph/pr_param_count

first argument to _getLock is mandatory
This commit is contained in:
Lars Immisch 2013-05-26 05:55:49 -07:00
commit d4cccebc97
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def idle(capi):
assert controlfile == os.path.abspath(controlfile)
try:
# lock the job so that it isn't deleted while sending
lock = _getLock(forfile=controlfile, blocking=0)
lock = _getLock('dummy', forfile=controlfile, blocking=0)
except LockTakenError:
# if we didn't get the lock, continue with next job
continue