diff options
author | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-06-07 11:28:34 +0100 |
---|---|---|
committer | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-06-07 11:28:34 +0100 |
commit | c1acc390b590456268f58dea6697e6869f1cd16f (patch) | |
tree | 99ccd7a5d24809510bd80d9b032f4d82a2a54fa9 | |
parent | 640f0ca5a17a144448a48de2a80e1f7a655eb9b2 (diff) | |
download | buildstream-tpollard/bzrfix.tar.gz |
testing/_utils/site.py: Fix missing BZR assignmenttpollard/bzrfix
Ensure that BZR is assigned to None in exception handling when
not available on the host. Needed for tests/testutils/repo/bzr.py
import.
-rw-r--r-- | src/buildstream/testing/_utils/site.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/testing/_utils/site.py b/src/buildstream/testing/_utils/site.py index 9e66b804e..64e0603ab 100644 --- a/src/buildstream/testing/_utils/site.py +++ b/src/buildstream/testing/_utils/site.py @@ -39,6 +39,7 @@ try: "BZR_EMAIL": "Testy McTesterson <testy.mctesterson@example.com>" } except ProgramNotFoundError: + BZR = None HAVE_BZR = False BZR_ENV = {} |