with open('ledger', 'a') as f:
f.write("\n")
for (user, debt) in debts:
with open('ledger', 'a') as f:
f.write("\n")
for (user, debt) in debts:
with open('bloggers.yml','w') as b:
yaml.safe_dump(bloggers, b)
if not dry_run:
subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",
with open('bloggers.yml','w') as b:
yaml.safe_dump(bloggers, b)
if not dry_run:
subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",