corrected punt-handling while dry run
This commit is contained in:
parent
0184cff9bb
commit
3b86b9a902
|
@ -78,7 +78,7 @@ if not dry_run:
|
||||||
stdin=subprocess.PIPE)
|
stdin=subprocess.PIPE)
|
||||||
p.communicate(email)
|
p.communicate(email)
|
||||||
|
|
||||||
if punt:
|
if punt and not dry_run:
|
||||||
with open('bloggers.yml') as b:
|
with open('bloggers.yml') as b:
|
||||||
bloggers = yaml.safe_load(b)
|
bloggers = yaml.safe_load(b)
|
||||||
for p in punt:
|
for p in punt:
|
||||||
|
|
Loading…
Reference in New Issue