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 15:06:50 +0000 |
commit | ea4615a49d79210961a9d95fdacfde20d6139ea0 (patch) | |
tree | ce20d39bade8ab92bec070ea317a254e72ee50eb /src | |
parent | 16338464b15f8836cd6e84b9e7bc11047494cc66 (diff) | |
download | buildstream-ea4615a49d79210961a9d95fdacfde20d6139ea0.tar.gz |
testing/_utils/site.py: Fix missing BZR assignment
Ensure that BZR is assigned to None in exception handling when
not available on the host. Needed for tests/testutils/repo/bzr.py
import.
Diffstat (limited to 'src')
-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 = {} |