diff options
author | Jürg Billeter <j@bitron.ch> | 2020-08-12 11:33:27 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-08-12 11:33:27 +0200 |
commit | 2f19be370216933208d19608c8a6f128c34a95b2 (patch) | |
tree | 8d28af2c15e0cc5e58b8b83eff2baa428333103f | |
parent | ca883d3e7d0d9ac0e1e4f60991f74b30a8ab43de (diff) | |
download | buildstream-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.py | 6 |
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 |