]> projects.mako.cc - iron-blogger/commitdiff
fix bug that always placed today's date into the punt git commit log
authorBenjamin Mako Hill <mako@atdot.cc>
Sun, 17 Jun 2012 02:24:28 +0000 (22:24 -0400)
committerBenjamin Mako Hill <mako@atdot.cc>
Sun, 17 Jun 2012 02:51:18 +0000 (22:51 -0400)
weekly-update.py

index 284ffb6056a9bf3fee868a3005bafc7bdd917d27..758bb69910e586c0bde79df814f8756a8f738d14 100755 (executable)
@@ -83,7 +83,7 @@ if punt:
 
     if not dry_run:
         subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",
 
     if not dry_run:
         subprocess.check_call(["git", "commit", "ledger", "bloggers.yml",
-                               "-m", "Punts for %s" % (today,)])
+                               "-m", "Punts for %s" % (date,)])
 
 # if it's a dry run, lets set the ledger back to the beginning state
 if dry_run:
 
 # if it's a dry run, lets set the ledger back to the beginning state
 if dry_run:

Benjamin Mako Hill || Want to submit a patch?