Rather than making tricks with lists and closures, it's better to have a regular function above (next to where ``sha1()`` originally was). It would accept a second argument: ``last_commit_time`` and return ``last_commit_time`` (possibly updated). Then, in ``run()`` you'd call it like this:

``last_commit_time = throttled_commit(last_commit_time)``