]> projects.mako.cc - iron-blogger/blobdiff - weekly-update.py
added rockys feed
[iron-blogger] / weekly-update.py
index acfc17bb8c0d67a760467e6e197e1cf4f28e9ed1..06d85182d84c5cbf127967e0f76837fa970baf62 100755 (executable)
@@ -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?