projects
/
iron-blogger
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
expanded the number of items on planet to 40
[iron-blogger]
/
weekly-update.py
diff --git
a/weekly-update.py
b/weekly-update.py
index acfc17bb8c0d67a760467e6e197e1cf4f28e9ed1..06d85182d84c5cbf127967e0f76837fa970baf62 100755
(executable)
--- a/
weekly-update.py
+++ b/
weekly-update.py
@@
-83,3
+83,7
@@
if punt:
subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",
"-m", "Punts for %s" % (today,)])
+
+# if it's a dry run, lets set the ledger back to the beginning state
+if dry_run:
+ subprocess.check_call(["git", "checkout", "ledger"])
Benjamin Mako Hill
||
Want to submit a patch?