From ea4615a49d79210961a9d95fdacfde20d6139ea0 Mon Sep 17 00:00:00 2001 From: Tom Pollard Date: Fri, 7 Jun 2019 11:28:34 +0100 Subject: 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. --- src/buildstream/testing/_utils/site.py | 1 + 1 file changed, 1 insertion(+) 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 " } except ProgramNotFoundError: + BZR = None HAVE_BZR = False BZR_ENV = {} -- cgit v1.2.1