summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-10-15 14:22:00 +0100
committerAngelos Evripiotis <jevripiotis@bloomberg.net>2019-10-15 15:31:01 +0100
commit2d3eac0cfb2bd1fe27088e6cdfeeec0d01d0fbc3 (patch)
treed89d628bd2a9743ffc7ef37a45f6bc5fd2f8100b
parent83a538eee784873742397c05efda9fe18bb9e272 (diff)
downloadbuildstream-2d3eac0cfb2bd1fe27088e6cdfeeec0d01d0fbc3.tar.gz
testing/.../site: del unnecessary global 'version'
It's not doing any harm, but I don't think we mean to have that in the module's namespace.
-rw-r--r--src/buildstream/testing/_utils/site.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/testing/_utils/site.py b/src/buildstream/testing/_utils/site.py
index ca74d9505..c614794c1 100644
--- a/src/buildstream/testing/_utils/site.py
+++ b/src/buildstream/testing/_utils/site.py
@@ -20,6 +20,7 @@ try:
# e.g. on Mac via Homebrew we get "git version 2.19.0".
version = tuple(int(x) for x in out.split(' ')[2].split('.')[:3])
HAVE_OLD_GIT = version < (1, 8, 5)
+ del version
GIT_ENV = {
'GIT_AUTHOR_DATE': '1320966000 +0200',