[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated: 0.1.1.4-196-g28dfe66

X2Go dev team git-admin at x2go.org
Sat Sep 14 15:57:25 CEST 2013


The branch, twofactorauth has been updated
       via  28dfe666762b7d77d03b99e6226773e577426de7 (commit)
      from  90aad3a3a8d6c92d41deccde992980181f3acd23 (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 2204732..9e46c7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -93,6 +93,8 @@ python-x2go (0.1.2.0-0~x2go1) UNRELEASED; urgency=low
     - Add support for renaming X2Go session windows on Windows.
     - Add support for Windows for bringing X2Go session windows to foreground.
     - Provide X2goClient.get_published_applications() method.
+    - Fill session profile configurations with missing default values and then
+      detect the profile meta type.
   * Depend on python-xlib.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sat, 28 Sep 2012 01:44:21 +0100
diff --git a/x2go/backends/profiles/_file.py b/x2go/backends/profiles/_file.py
index 255470e..4ebe6c8 100644
--- a/x2go/backends/profiles/_file.py
+++ b/x2go/backends/profiles/_file.py
@@ -70,10 +70,10 @@ class X2goSessionProfilesFILE(inifiles.X2goIniFile):
 
         self.session_profiles = [ p for p in self.iniConfig.sections() if p not in self._non_profile_sections ]
         for session_profile in self.session_profiles:
-            self.get_profile_metatype(session_profile)
             for key, default_value in self.defaultSessionProfile.iteritems():
                 if not self.iniConfig.has_option(session_profile, key):
                     self._storeValue(session_profile, key, default_value)
+            self.get_profile_metatype(session_profile)
 
     def __call__(self, profile_id_or_name):
         """\


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