[X2Go-Commits] pyhoca-gui.git - twofactorauth (branch) updated: 92383822d606f12751cc9a748144578481244ebc

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


The branch, twofactorauth has been updated
       via  92383822d606f12751cc9a748144578481244ebc (commit)
      from  ddb7265f91230b032f9fec64ddb6a8b8854cd14c (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       |    1 -
 pyhoca/wxgui/profilemanager.py |    2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

The diff of changes is:
diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py
index 8819bb5..db712d9 100644
--- a/pyhoca/wxgui/frontend.py
+++ b/pyhoca/wxgui/frontend.py
@@ -487,7 +487,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient):
             # This returns a Python list of files that were selected.
             self._X2goClient__share_local_folder_with_session(profile_name=self.current_profile_name, folder_name=str(dlg.GetPath()))
 
-
     def OnListSessions(self, evt):
         """\
         STILL UNDOCUMENTED
diff --git a/pyhoca/wxgui/profilemanager.py b/pyhoca/wxgui/profilemanager.py
index 1e65e8e..aed9bf2 100644
--- a/pyhoca/wxgui/profilemanager.py
+++ b/pyhoca/wxgui/profilemanager.py
@@ -951,7 +951,7 @@ class PyHocaGUI_ProfileManager(wx.Dialog):
             _item = self.SharedFoldersList.GetItem(_item_id)
             _shared_folders.append(_item.GetText())
             _item_id = self.SharedFoldersList.GetNextItem(_item_id)
-        self.profile_config['export'] = ','.join(_shared_folders)
+        self.profile_config['export'] = ','.join([ f for f in _shared_folders if f ])
         self.profile_config['useiconv'] = self.UseEncodingConverter.GetValue()
         self.profile_config['iconvfrom'] = self.ClientEncoding.GetValue()
         self.profile_config['iconvto'] = self.ServerEncoding.GetValue()


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