summaryrefslogtreecommitdiff
path: root/tests/cachekey
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-02-28 19:31:03 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-03-01 19:05:30 +0000
commitd6d33c94751bd47ca77d2b2e4ac246a2dd1328a6 (patch)
tree1739ba821e90215f89901bed10326f4142360f21 /tests/cachekey
parent8f9b3dcdaca6f5179b79328b17b3e2c71db19e73 (diff)
downloadbuildstream-d6d33c94751bd47ca77d2b2e4ac246a2dd1328a6.tar.gz
tests: Remove unused variables
Diffstat (limited to 'tests/cachekey')
-rw-r--r--tests/cachekey/cachekey.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py
index 4a6896888..456e403d4 100644
--- a/tests/cachekey/cachekey.py
+++ b/tests/cachekey/cachekey.py
@@ -92,7 +92,7 @@ def load_expected_keys(project_dir, actual_keys, raise_error=True):
with open(expected, 'r') as f:
expected_key = f.read()
expected_key = expected_key.strip()
- except FileNotFoundError as e:
+ except FileNotFoundError:
expected_key = None
if raise_error:
raise Exception("Cache key test needs update, " +