diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-10 16:37:57 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-10 16:37:57 +0100 |
commit | f5600cb8fd6e31a51208fa8ff864603b8d61b318 (patch) | |
tree | f42d220c5f9c43a2440c234804a235cea400bfb1 | |
parent | 78c985bacc0df7cc33d55f5ec79bf625a34349e5 (diff) | |
download | buildslave-scripts-f5600cb8fd6e31a51208fa8ff864603b8d61b318.tar.gz |
fix using the wrong cmd
-rw-r--r-- | builder_logic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builder_logic.py b/builder_logic.py index 7ca74eb..584c709 100644 --- a/builder_logic.py +++ b/builder_logic.py @@ -32,7 +32,7 @@ def files_changed(): owd = os.getcwd() os.chdir(DEFINITIONS_DIR) SHAcmd = ['git', 'log', REF, '--format=format:%H', '-2'] - SHAproc = subprocess.Popen(cmd, stdout=subprocess.PIPE) + SHAproc = subprocess.Popen(SHAcmd, stdout=subprocess.PIPE) SHAout, SHAerr = p.communicate() SHA = SHAout.split() cmd = ['git', 'diff', '--name-only', SHA[0], SHA[1]] |