From 1f7ad229c52730b7eea7ae223605d48c7ea4d22f Mon Sep 17 00:00:00 2001 From: Kenix3 Date: Tue, 9 Mar 2021 18:11:46 -0500 Subject: [PATCH] Updates progress.py to use the git module for outputting commit hash --- requirements.txt | 1 + tools/progress.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index afe54bcbb5..d76027c1c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ colorama>=0.4.3 ansiwrap>=0.8.4 attrs>=18.2.0 watchdog>=0.10.2 +GitPython>=3.1.14 diff --git a/tools/progress.py b/tools/progress.py index 8c78886d53..b671a87e97 100755 --- a/tools/progress.py +++ b/tools/progress.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -import os, struct, sys, ast, argparse, json, re, csv +import os, argparse, json, re, csv, git parser = argparse.ArgumentParser()