[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 0.4.0.2-7-gd5df830
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:31:32 CET 2014
The branch, build-baikal has been updated
via d5df83078d9dc2c5a33b66625d62cfc98e828473 (commit)
from 7792ed64a99ab0f8b8acb56e39a75a2946529615 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 2 ++
x2go/backends/profiles/_file.py | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 55a1cc3..4b861ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ python-x2go (0.4.0.3-0~x2go1) UNRELEASED; urgency=low
- Fix faulty value creations for the export session profile parameter.
(Fixes: #162). This issue occured when the restoreexports feature
had been activated in the session profile.
+ - Prevent Exception when creating new session profiles. Spotted by
+ Dick Kniep. Thanks!
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Sun, 03 Mar 2013 15:57:44 +0100
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index 9f3faf0..463db0f 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -412,9 +412,9 @@ class X2GoSessionProfilesFILE(inifiles.X2GoIniFile):
if not profile_name:
raise X2GoProfileException('profile name for profile id %s may not be empty' % profile_id)
else:
+ self._cached_profile_names = []
if profile_name != current_profile_name and profile_name in self.profile_names:
raise X2GoProfileException('a profile of name ,,%s\'\' already exists' % profile_name)
- self._cached_profile_names = []
if key == 'export' and type(value) == types.DictType:
_strvalue = '"'
hooks/post-receive
--
python-x2go.git (Python X2Go Client API)
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 "python-x2go.git" (Python X2Go Client API).
More information about the x2go-commits
mailing list