From 3764f2d5bd8624a72450bddc05732c0cc4471d45 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 16 Mar 2021 22:55:00 +0100 Subject: [PATCH] Bugfixes in install command --- src/cpl_cli/command/install_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpl_cli/command/install_service.py b/src/cpl_cli/command/install_service.py index e705a871..09d14e87 100644 --- a/src/cpl_cli/command/install_service.py +++ b/src/cpl_cli/command/install_service.py @@ -80,7 +80,7 @@ class InstallService(CommandABC): return package_version = '' - name = '' + name = package if '==' in package: name = package.split('==')[0] package_version = package.split('==')[1]