[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.4.0.6-17-g220cefe

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


The branch, twofactorauth has been updated
       via  220cefec0a4aefd71dae25760249c14e1c917107 (commit)
      from  c2e490a9644e803fda5109ab38dadf9833db2004 (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 ++
 pyhoca/wxgui/profilemanager.py |    5 +----
 2 files changed, 3 insertions(+), 4 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 8286414..d2d10c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ pyhoca-gui (0.4.0.7-0~x2go1) UNRELEASED; urgency=low
     - Add import feature to the session profile manager.
     - Update German and English translation files.
     - Tolerate blanks during profile name validation.
+    - Hand over the complete session profile parameter to add_profile() on
+      profile creation.
   * /debian/control:
     + Replace LDAP support with session brokerage support in LONG_DESCRIPTION.
     + Depend on python-x2go (>= 0.4.0.7).
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 7df47d1..6c5ad65 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -2406,10 +2406,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
             if self.profile_config != self.profile_config_orig:
 
                 if self.action in ('ADD', 'COPY'):
-                    self.profile_id = self.session_profiles.add_profile()
-
-                for k in self.profile_config.keys():
-                    self.session_profiles.update_value(self.profile_id, k, self.profile_config[k])
+                    self.profile_id = self.session_profiles.add_profile(**self.profile_config)
 
                 self.session_profiles.write_user_config = True
                 self.session_profiles.write()


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