+
+if punt:
+ with open('bloggers.yml') as b:
+ bloggers = yaml.safe_load(b)
+ for p in punt:
+ if 'end' not in bloggers[p]:
+ bloggers[p]['end'] = today
+ with open('bloggers.yml','w') as b:
+ yaml.safe_dump(bloggers, b)
+
+ subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",
+ "-m", "Punts for %s" % (today,)])