[X2Go-Commits] [pyhoca-cli] 01/01: pyhoca-cli: Write program version to STDOUT (not STDERR).
git-admin at x2go.org
git-admin at x2go.org
Wed Nov 17 21:39:56 CET 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-cli.
commit 8b7f6f889ac8c38eaa67ab16c591d435179706e1
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Nov 17 21:39:32 2021 +0100
pyhoca-cli: Write program version to STDOUT (not STDERR).
---
pyhoca-cli | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyhoca-cli b/pyhoca-cli
index 4ae5cc3..454c9a4 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -292,7 +292,7 @@ backend_options = [
# print version text and exit
def version():
- sys.stderr.write ("%s\n" % VERSION_TEXT)
+ print("%s" % VERSION_TEXT)
sys.exit(0)
def list_features():
--
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