[projects/git-slug: 100/170] Clean unused variable wdd
glen
glen at pld-linux.org
Mon Sep 21 21:47:13 CEST 2015
commit 8320d9fa13c54eaf947f8486602ed52c63a70cd3
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Wed Mar 21 05:56:27 2012 +0000
Clean unused variable wdd
slug_watch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/slug_watch b/slug_watch
index ac35016..d94afb0 100755
--- a/slug_watch
+++ b/slug_watch
@@ -99,7 +99,7 @@ def runwatch(user=None):
wm = pyinotify.WatchManager() # Watch Manager
mask = pyinotify.IN_CLOSE_WRITE # watched events
notifier = pyinotify.Notifier(wm, EventHandler())
- wdd = wm.add_watch(WATCHDIR, mask, rec=False)
+ wm.add_watch(WATCHDIR, mask, rec=False)
for filename in sorted(os.listdir(WATCHDIR), key=lambda f: os.stat(os.path.join(WATCHDIR, f)).st_mtime):
process_file(os.path.join(WATCHDIR, filename))
notifier.loop()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5
More information about the pld-cvs-commit
mailing list