From 3b86b9a9022d70adf2b5c880fb0ad5bbba296b1e Mon Sep 17 00:00:00 2001 From: "Marcus \"Chaosblog" Date: Wed, 23 May 2012 21:15:57 +0200 Subject: [PATCH] corrected punt-handling while dry run --- weekly-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weekly-update.py b/weekly-update.py index e143c4e..7f098d0 100755 --- a/weekly-update.py +++ b/weekly-update.py @@ -78,7 +78,7 @@ if not dry_run: stdin=subprocess.PIPE) p.communicate(email) -if punt: +if punt and not dry_run: with open('bloggers.yml') as b: bloggers = yaml.safe_load(b) for p in punt: