Commit 82f3ee6a authored by Antoine Catton's avatar Antoine Catton

Minor: bugfix on lockfile recipe

parent e602a37b
...@@ -53,7 +53,7 @@ class LockFile(object): ...@@ -53,7 +53,7 @@ class LockFile(object):
inotify_fd = inotifyx.init() inotify_fd = inotifyx.init()
try: try:
inotifyx.add_watch(inotify_fd, self.filename, inotifyx.IN_DELETE) inotifyx.add_watch(inotify_fd, self.filename, inotifyx.IN_DELETE)
inotifyx.get_events() inotifyx.get_events(inotify_fd)
except IOError: # add_watch failed except IOError: # add_watch failed
pass pass
finally: finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment