[X2Go-Commits] [pyhoca-cli] 01/03: Fix --list-profiles action. Regresion after we introduced the a.host positional argument.
git-admin at x2go.org
git-admin at x2go.org
Tue Sep 18 21:19:53 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-cli.
commit cea4d398aafe0521a9f8a4abd055306110315172
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Tue Sep 18 21:02:41 2018 +0200
Fix --list-profiles action. Regresion after we introduced the a.host positional argument.
---
pyhoca-cli | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyhoca-cli b/pyhoca-cli
index b7c93bd..b5256fe 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -290,7 +290,7 @@ Possible values for the --pack NX option are:
if a.version:
version()
- if not a.username and "@" in a.host:
+ if type(a.host) == str and not a.username and "@" in a.host:
a.username = a.host.split('@')[0]
a.host = '@'.join(a.host.split('@')[1:])
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pyhoca-cli.git
More information about the x2go-commits
mailing list