[X2Go-Commits] [x2goclient] 60/94: Fix --list-profiles action. Regresion after we introduced the a.host positional argument.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 21:06:47 CET 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to annotated tag 0.6.1.0
in repository x2goclient.

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 b7c93bd1..b5256fe7 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/x2goclient.git


More information about the x2go-commits mailing list