From 1e648dcdc7add41b0bf6ddcad9bb1789ddcc7eef Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 4 Aug 2019 03:20:54 -0700 Subject: [PATCH] fixup style and formatting --- lethe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lethe.py b/lethe.py index 362e409..825fcbe 100755 --- a/lethe.py +++ b/lethe.py @@ -45,7 +45,7 @@ def get_obj(ref: str, cwd: str=None) -> str: """ Transform a ref into its corresponding hash using git-rev-parse """ - sha = _run('git rev-parse --quiet --verify'.split() + [ref], cwd=cwd) + sha = _run('git rev-parse --quiet --verify'.split() + [ref], cwd=cwd) return sha @@ -127,7 +127,7 @@ def snap_tree(cwd: str=None) -> str: with tempfile.TemporaryDirectory() as tmp_dir: env = {'GIT_INDEX_FILE': tmp_dir + '/git-snapshot-index'} - # TODO: Mayve need cwd=get_root(cwd) here? + # TODO: Maybe need cwd=get_root(cwd) here? _run('git add --all', env=env, cwd=cwd) tree = _run('git write-tree', env=env, cwd=cwd) return tree