[X2Go-Commits] [pyhoca-gui] 23/71: CVix: detect CVix version correctly. Reduce version slightly below 2.0

git-admin at x2go.org git-admin at x2go.org
Thu Mar 20 00:32:42 CET 2014


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

x2go pushed a commit to branch cvix/2.x
in repository pyhoca-gui.

commit 4e860347cd4c0207a51514aa84195be0001a3166
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Feb 6 00:36:55 2014 +0100

    CVix: detect CVix version correctly. Reduce version slightly below 2.0
---
 CVix.py       |    2 +-
 CVix_setup.py |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CVix.py b/CVix.py
index d26ccce..74d2d4f 100755
--- a/CVix.py
+++ b/CVix.py
@@ -29,7 +29,7 @@ import x2go
 import CVix_session_profile_template
 
 __author__ = "Mike Gabriel, Dick Kniep"
-__version__ = 2.0
+__version__ = 1.99.1
 
 PROG_NAME = 'CVix'
 # change this to .CVix???
diff --git a/CVix_setup.py b/CVix_setup.py
index 0906a03..23683d3 100755
--- a/CVix_setup.py
+++ b/CVix_setup.py
@@ -24,7 +24,7 @@ import os
 PROGRAM_NAME = 'CVix'
 SCRIPT_NAME = 'CVix.py'
 PROGRAM_DESC = '%s Client is a tool to access CVix application servers' % PROGRAM_NAME
-for line in file(os.path.join('pyhoca', 'wxgui', '__init__.py')).readlines():
+for line in file(SCRIPT_NAME).readlines():
     if (line.startswith('__VERSION__')):
         exec(line.strip())
 PROGRAM_VERSION = __VERSION__

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git



More information about the x2go-commits mailing list