This is an automated email from the git hooks/post-receive script. x2go pushed a commit to annotated tag 0.1.4.0 in repository x2goclient. commit 35b726c1156a1f1e3e675626cd59f4d0c62ea225 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Tue May 17 13:06:30 2011 +0200 catching ValueError if --password is not given --- pyhoca-cli | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyhoca-cli b/pyhoca-cli index c00b6b39..f85a9cb5 100755 --- a/pyhoca-cli +++ b/pyhoca-cli @@ -38,8 +38,12 @@ if app.startswith('./'): PROG_NAME = os.path.basename(sys.argv[0]) PROG_PID = os.getpid() PROG_OPTIONS = sys.argv[1:] -_password_index = PROG_OPTIONS.index('--password')+1 -PROG_OPTIONS[_password_index] = "XXXXXXXX" +try: + _password_index = PROG_OPTIONS.index('--password')+1 + PROG_OPTIONS[_password_index] = "XXXXXXXX" +except ValueError: + # ignore if --password option is not specified + pass from x2go import X2GOCLIENT_OS as _X2GOCLIENT_OS if _X2GOCLIENT_OS in ('Linux', 'Mac'): -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git