summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-08-12 11:33:27 +0200
committerJürg Billeter <j@bitron.ch>2020-08-12 11:33:27 +0200
commit2f19be370216933208d19608c8a6f128c34a95b2 (patch)
tree8d28af2c15e0cc5e58b8b83eff2baa428333103f
parentca883d3e7d0d9ac0e1e4f60991f74b30a8ab43de (diff)
downloadbuildstream-juerg/fedora-32.tar.gz
testing/_utils/site.py: Add BRZ_EMAIL to support Breezy 3.0juerg/fedora-32
Fedora 32 has replaced Bazaar with Breezy.
-rw-r--r--src/buildstream/testing/_utils/site.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buildstream/testing/_utils/site.py b/src/buildstream/testing/_utils/site.py
index d8ace859b..705419f58 100644
--- a/src/buildstream/testing/_utils/site.py
+++ b/src/buildstream/testing/_utils/site.py
@@ -38,7 +38,11 @@ except ProgramNotFoundError:
try:
BZR = utils.get_host_tool("bzr") # type: Optional[str]
HAVE_BZR = True
- BZR_ENV = {"BZR_EMAIL": "Testy McTesterson <testy.mctesterson@example.com>"}
+ # Breezy 3.0 supports `BRZ_EMAIL` but not `BZR_EMAIL`
+ BZR_ENV = {
+ "BZR_EMAIL": "Testy McTesterson <testy.mctesterson@example.com>",
+ "BRZ_EMAIL": "Testy McTesterson <testy.mctesterson@example.com>",
+ }
except ProgramNotFoundError:
BZR = None
HAVE_BZR = False