[X2Go-Commits] pyhoca-gui.git - build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d (branch) updated: 0.4.0.6-8-gab019d7

X2Go dev team git-admin at x2go.org
Tue Aug 27 13:23:05 CEST 2013


The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated
       via  ab019d75638bfe3479df0b7e3a9aa6de2ac3688f (commit)
      from  024620112e170ed8ff326b4873b920bf00855954 (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/frontend.py |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 4dad362..93dca84 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -1171,30 +1171,30 @@ class PyHocaGUI(wx.App, x2go.X2GoClient):
                                                      icon='error',
                                                      profile_name=profile_name)
                 m.ShowModal()
-            elif len(failed_profiles) == len(imported_session_profiles.profile_names):
+            elif len(failed_profiles) == len(imported_profiles):
                 _notify_text = _(u'None of the session profiles could be imported...') + '\n'
                 for failed_profile in failed_profiles:
                     _notify_text += '\n  %s' % failed_profile
                 _notify_text += '\n\n' + _(u'For details, start %s from the command line and retry the import.') % self.appname
                 self.notifier.send(u'Session Profile Import (Failure)', _notify_text, icon='profile_error', timeout=10000)
 
-            elif 0 < len(failed_profiles) < len(imported_session_profiles.profile_names):
+            elif 0 < len(failed_profiles) < len(imported_profiles):
                 _notify_text = _(u'Only these session profiles could be imported...') + '\n'
-                for profile_name in [ pn for pn in imported_session_profiles.profile_names if pn not in failed_profiles ]:
+                for profile_name in [ pn for pn in imported_profiles if pn not in failed_profiles ]:
                     _notify_text += '\n  %s' % profile_name
                 _notify_text += '\n\n' + _(u'Whereas these session profiles failed to import...') + '\n'
                 for failed_profile in failed_profiles:
                     _notify_text += '\n  %s' % failed_profile
                 _notify_text += '\n\n' + _(u'For details, start %s from the command line and retry the import.') % self.appname
                 self.notifier.send(u'Session Profile Import (Warning)', _notify_text, icon='profile_warning', timeout=10000)
-            elif 1 < len(imported_session_profiles.profile_names):
+            elif 1 < len(imported_profiles):
                 _notify_text = _(u'New session profiles have been imported...') + '\n'
-                for profile_name in imported_session_profiles.profile_names:
+                for profile_name in imported_profiles:
                     _notify_text += '\n  %s' % profile_name
                 self.notifier.send(u'Session Profile Import (Success)', _notify_text, icon='profile_add', timeout=10000)
-            elif 1 == len(imported_session_profiles.profile_names):
+            elif 1 == len(imported_profiles):
                 _notify_text = _(u'New session profile has been imported...') + '\n'
-                for profile_name in imported_session_profiles.profile_names:
+                for profile_name in imported_profiles:
                     _notify_text += '\n  %s' % profile_name
                 self.notifier.send(u'Session Profile Import (Success)', _notify_text, icon='profile_add', timeout=10000)
 


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