]> projects.mako.cc - iron-blogger/commitdiff
Commit the right thing in the weekly update.
authorNelson Elhage <nelhage@ksplice.com>
Mon, 24 May 2010 00:16:15 +0000 (20:16 -0400)
committerNelson Elhage <nelhage@ksplice.com>
Mon, 24 May 2010 00:16:15 +0000 (20:16 -0400)
weekly-update.py

index 02cefca238c029d79faad4e0b0d7d5e0af2fdaf0..dd217ce8b32114dc29e67373ee8543d3b78da91c 100755 (executable)
@@ -22,7 +22,7 @@ with open('ledger', 'a') as f:
     f.write("\n")
     f.write(render.render_template('templates/ledger', sys.argv[1]))
 
     f.write("\n")
     f.write(render.render_template('templates/ledger', sys.argv[1]))
 
-subprocess.check_call(["git", "commit", "templates/ledger",
+subprocess.check_call(["git", "commit", "ledger",
                        "-m", "Update for %s" % (sys.argv[1],)])
 
 text = render.render_template('templates/week.tmpl', sys.argv[1])
                        "-m", "Update for %s" % (sys.argv[1],)])
 
 text = render.render_template('templates/week.tmpl', sys.argv[1])

Benjamin Mako Hill || Want to submit a patch?