[X2Go-Commits] [python-x2go] 01/02: Fix detection of matching path names in X2GoIniFiles.
git-admin at x2go.org
git-admin at x2go.org
Mon Apr 14 16:39:22 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit 8204e4b3ea3427713f71975df5f889fadae65833
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Apr 14 16:38:35 2014 +0200
Fix detection of matching path names in X2GoIniFiles.
---
debian/changelog | 1 +
x2go/inifiles.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7b4b6c9..9e215ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ python-x2go (0.5.0.0-0x2go1) UNRELEASED; urgency=low
- Allow user interaction via a HOOK if broker connection problems occur.
- Handle broker setups that don't require credentials. Connection can
be established simply by leaving the password (and authid) empty.
+ - Fix detection of matching path names in X2GoIniFiles.
* debian/control:
+ Add dependencies: python-requests, python-simplejson.
* python-x2go.spec:
diff --git a/x2go/inifiles.py b/x2go/inifiles.py
index 6b0b81e..ea554a1 100644
--- a/x2go/inifiles.py
+++ b/x2go/inifiles.py
@@ -98,6 +98,7 @@ class X2GoIniFile(object):
_create_file = False
for file_name in self.config_files:
+ file_name = os.path.normpath(file_name)
if file_name.startswith(_current_home):
if not os.path.exists(file_name):
utils.touch_file(file_name)
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list