[X2Go-Commits] python-x2go.git - brokerclient (branch) updated: ae691bede6465337b0b0c30ee05fdb462a52cc2d

X2Go dev team git-admin at x2go.org
Tue Jan 7 16:19:29 CET 2014


The branch, brokerclient has been updated
       via  ae691bede6465337b0b0c30ee05fdb462a52cc2d (commit)
      from  2aeda6227a5d87de552ead247134b96357746a21 (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:
 x2go/utils.py |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/utils.py b/x2go/utils.py
index 0ecd4f2..5cd5ee5 100644
--- a/x2go/utils.py
+++ b/x2go/utils.py
@@ -207,4 +207,16 @@ def _convert_SessionProfileOptions_2_SessionParams(_options):
         ]
         for i in _ignored_options:
             del _params[i]
-        return _params
\ No newline at end of file
+        return _params
+
+def session_names_by_timestamp(session_infos):
+
+    session_names = session_infos.keys()
+    print session_names
+    sortable_session_names = [ '%s|%s' % (session_name.split('-')[2].split('_')[0], session_name) for session_name in session_names ]
+    print sortable_session_names
+    sortable_session_names.sort()
+    print sortable_session_names
+    return [ session_name.split('|')[1] for session_name in sortable_session_names ]
+
+


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