[X2Go-Commits] pyhoca-gui.git - master (branch) updated: 0.4.0.8-22-gd1e9668

X2Go dev team git-admin at x2go.org
Fri Nov 15 22:19:32 CET 2013


The branch, master has been updated
       via  d1e96680cf2e9a6d5766729a919b8e418377c889 (commit)
      from  fc15db627d8ad3232979a469dde294b572318a47 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d1e96680cf2e9a6d5766729a919b8e418377c889
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 15 22:18:17 2013 +0100

    Resolve tilde char in base directories for the PyHoca-GUI application.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    1 +
 pyhoca-gui       |    9 +++++++++
 2 files changed, 10 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index aba2997..05fb004 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -21,6 +21,7 @@ pyhoca-gui (0.4.0.9-0~x2go1) UNRELEASED; urgency=low
       file path.
     - Resolve tilde char in file path of the about image.
     - Allow multiple PyHoca-GUI instances for the same user, one per $DISPLAY.
+    - Resolve tilde char in base directories for the PyHoca-GUI application.
   * /debian/copyright:
     + Update file. Add entry for file icon2exe.py.
   * /debian/control:
diff --git a/pyhoca-gui b/pyhoca-gui
index 1697f86..e498814 100755
--- a/pyhoca-gui
+++ b/pyhoca-gui
@@ -382,6 +382,15 @@ def parseargs():
             os.environ.update({'DISPLAY': 'localhost:0'})
 
     if a.client_rootdir:
+        a.client_rootdir = os.path.expanduser(a.client_rootdir)
+
+    if a.sessions_rootdir:
+        a.sessions_rootdir = os.path.expanduser(a.sessions_rootdir)
+
+    if a.ssh_rootdir:
+        a.ssh_rootdir = os.path.expanduser(a.ssh_rootdir)
+
+    if a.client_rootdir:
         a.backend_sessionprofiles='FILE'
         a.backend_clientsettings='FILE'
         a.backend_clientprinting='FILE'


hooks/post-receive
-- 
pyhoca-gui.git (Python X2Go Client (wxPython GUI))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).




More information about the x2go-commits mailing list