From 22554a3f8069fba56e18de97d413ed126dadb3df Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 15 Oct 2020 11:40:15 +0200
Subject: [PATCH] Fix broken code due to API change in get_channels

---
 bob/devtools/bootstrap.py | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py
index c0d59cdf..f3762f82 100644
--- a/bob/devtools/bootstrap.py
+++ b/bob/devtools/bootstrap.py
@@ -525,16 +525,15 @@ if __name__ == "__main__":
     elif args.command == "channel":
 
         # installs from channel
-        channels, _ = (
-            get_channels(
-                public=True,
-                stable=(args.tag is not None),
-                server=_SERVER,
-                intranet=True,
-                group="bob",
-            )
-            + ("defaults",)
+        channels, _ = get_channels(
+            public=True,
+            stable=(args.tag is not None),
+            server=_SERVER,
+            intranet=True,
+            group="bob",
         )
+
+        channels += ["defaults"]
         channels = ["--override-channels"] + ["--channel=%s" % k for k in channels]
         conda_cmd = "install" if args.envname in ("base", "root") else "create"
         cmd = (
-- 
GitLab