[X2Go-Commits] python-x2go.git - build-baikal (branch) updated: 61081683ba395feec7eb1b2ca0ccc8aa4e41e127
X2Go dev team
git-admin at x2go.org
Wed Jan 8 15:27:25 CET 2014
The branch, build-baikal has been updated
via 61081683ba395feec7eb1b2ca0ccc8aa4e41e127 (commit)
from 86e65d4411b7b259f6fe3fe1008355ae85234b6d (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:
x2go/backends/profiles/https_broker.py | 16 ++--------------
x2go/backends/profiles/sessions_file.py | 6 ++++--
x2go/backends/profiles/win_registry.py | 2 +-
3 files changed, 7 insertions(+), 17 deletions(-)
The diff of changes is:
diff --git a/x2go/backends/profiles/https_broker.py b/x2go/backends/profiles/https_broker.py
index 8355e81..7338f0f 100644
--- a/x2go/backends/profiles/https_broker.py
+++ b/x2go/backends/profiles/https_broker.py
@@ -156,26 +156,14 @@ class X2goSessionProfilesHTTP(inifiles.X2goIniFile):
STILL UNDOCUMENTED
"""
- if profile_id is None:
- profile_id = utils._get_SessionProfileId()
- for key, value in kwargs.items():
- if key in self.defaultSessionProfile:
- self.update_value(profile_id, key, value)
- else:
- raise X2goProfileException('keyword ,,%s\'\' not supported in X2go session profile' % key)
-
- for key, value in self.defaultSessionProfile.items():
- if key in kwargs: continue
- self._storeValueTypes(profile_id, key, value)
+ pass
def delete_profile(self, profile_id):
"""\
STILL UNDOCUMENTED
"""
- self.iniConfig.remove_section(profile_id)
- self.write_user_config = True
- self.writeIniFile()
+ pass
def has_default_profiles(self):
"""\
diff --git a/x2go/backends/profiles/sessions_file.py b/x2go/backends/profiles/sessions_file.py
index d6fe03d..3d0b7e9 100644
--- a/x2go/backends/profiles/sessions_file.py
+++ b/x2go/backends/profiles/sessions_file.py
@@ -157,7 +157,7 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
"""
if profile_id is None:
- profile_id = utils._get_SessionProfileId()
+ profile_id = utils._genSessionProfileId()
for key, value in kwargs.items():
if key in self.defaultSessionProfile:
self.update_value(profile_id, key, value)
@@ -166,7 +166,9 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
for key, value in self.defaultSessionProfile.items():
if key in kwargs: continue
- self._storeValueTypes(profile_id, key, value)
+ self.update_value(profile_id, key, value)
+
+ return profile_id
def delete_profile(self, profile_id):
"""\
diff --git a/x2go/backends/profiles/win_registry.py b/x2go/backends/profiles/win_registry.py
index 380c37a..247bd2b 100644
--- a/x2go/backends/profiles/win_registry.py
+++ b/x2go/backends/profiles/win_registry.py
@@ -158,7 +158,7 @@ class X2goSessionProfilesWINREG(inifiles.X2goIniFile):
"""
if profile_id is None:
- profile_id = utils._get_SessionProfileId()
+ profile_id = utils._genSessionProfileId()
for key, value in kwargs.items():
if key in self.defaultSessionProfile:
self.update_value(profile_id, key, value)
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