Skip to content
Snippets Groups Projects
Commit 22554a3f authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix broken code due to API change in get_channels

parent 5574432f
Branches
Tags
No related merge requests found
Pipeline #44236 failed
......@@ -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 = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment