stderr set to subprocess.PIPE, shell set to boolean True, cwd set to repo_dir and universal_newlines set to boolean True, as arguments, substitute the result for git_log. evaluate the method git_log.communicate, substitute first element of the result for timestamp.
timestamp = git_log . communicate ( ) [ 0 ]