[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 0.0.32.0-9-g31da142

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


The branch, twofactorauth has been updated
       via  31da142595c65bf76dfd822dc6ddbc4912ee4a4b (commit)
      from  44ca189c194d4e27b2b88d81bdb031b6d87a6e24 (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:
 pyhoca/wxgui/profilemanager.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 0b86efa..d032ccd 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -1334,7 +1334,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
         if len(self.profile_config['name'].strip()) == 0:
             validateOk = False
             self._PyHocaGUI.notifier.send(title=_(u'Profile Manager'), text=_(u'Profile name is missing, profile unusable!!!'), icon='profile_error')
-        elif self.profile_config['name'].strip() in self.session_profiles.profile_names:
+        elif self.profile_config['name'].strip() in self.session_profiles.profile_names and self.action == 'ADD':
             validateOk = False
             self._PyHocaGUI.notifier.send(title=_(u'Profile Manager'), text=_(u'Profile name %s already exists!!!' % self.profile_config['name'].strip()), icon='profile_error')
         return validateOk


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