diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-11-03 17:23:00 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-11-03 17:23:00 +0000 |
commit | 9ae51b700d594df258b060444cb07649c37e30df (patch) | |
tree | d459a4b9e53753452bf118a0f357b38ceb0d3ff7 /lock-and-increment | |
parent | b4e9b197628dbcb71ebd693c7ed76d155acdf171 (diff) | |
download | obnam-9ae51b700d594df258b060444cb07649c37e30df.tar.gz |
Fix lock-and-increment for current LockManager API
Diffstat (limited to 'lock-and-increment')
-rwxr-xr-x | lock-and-increment | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lock-and-increment b/lock-and-increment index d7b945c1..18935762 100755 --- a/lock-and-increment +++ b/lock-and-increment @@ -26,7 +26,7 @@ count_to = int(sys.argv[2]) filename = os.path.join(dirname, 'counter') fs = obnamlib.LocalFS('/') -lm = obnamlib.LockManager(fs, 60) +lm = obnamlib.LockManager(fs, 60, 'lock-and-increment') for i in range(count_to): lm.lock([dirname]) |