[aur-dev] [PATCH 1/3] tuvotereminder: Wait for notify processes

Lukas Fleischer lfleischer at archlinux.org
Thu Sep 29 20:10:24 UTC 2016


Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
---
 scripts/tuvotereminder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/tuvotereminder.py b/scripts/tuvotereminder.py
index a053608..97b1d12 100755
--- a/scripts/tuvotereminder.py
+++ b/scripts/tuvotereminder.py
@@ -21,7 +21,7 @@ def main():
                        [filter_from, filter_to])
 
     for vote_id in [row[0] for row in cur.fetchall()]:
-        subprocess.Popen((notify_cmd, 'tu-vote-reminder', str(vote_id)))
+        subprocess.Popen((notify_cmd, 'tu-vote-reminder', str(vote_id))).wait()
 
 
 if __name__ == '__main__':
-- 
2.10.0


More information about the aur-dev mailing list