diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-09-21 18:40:15 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-09-21 18:40:15 +0200 |
| commit | e9f41e9e3ef8f6d35dda10c6c58d77b52d577e8a (patch) | |
| tree | 05e4b36ba4750df0ddbb8296e2f17b0b576cfaaf /src/util.py | |
| parent | bc3cb06694b02e46a692d2f2759016a0f24b47a5 (diff) | |
| download | allocbench-e9f41e9e3ef8f6d35dda10c6c58d77b52d577e8a.tar.gz allocbench-e9f41e9e3ef8f6d35dda10c6c58d77b52d577e8a.zip | |
remove whitespace and comment global vars
Diffstat (limited to 'src/util.py')
| -rw-r--r-- | src/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.py b/src/util.py index 027cbcb..b44a263 100644 --- a/src/util.py +++ b/src/util.py @@ -164,12 +164,12 @@ def print_version_and_exit(): proc = subprocess.run(["git", "status", "--porcelain"], universal_newlines=True, stdout=subprocess.PIPE) - + if proc.returncode != 0: print_error("git status --porcelain failed") exit(1) dirty = "-dirty" if proc.stdout != "" else "" - + print(f"{commit}{dirty}") exit(0) |
