[X2Go-Commits] x2gobroker.git - build-main (branch) updated: 0.0.1.0-42-g6ab6f45

X2Go dev team git-admin at x2go.org
Sat Apr 27 13:04:10 CEST 2013


The branch, build-main has been updated
       via  6ab6f454d8976ab5c42937e44e81ab2bf570f9e6 (commit)
      from  e19494d1cf6fa3f04f946d50196c3a5123835ba2 (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:
 x2gobroker/web/uccs.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2gobroker/web/uccs.py b/x2gobroker/web/uccs.py
index 3eeb622..7ad0060 100644
--- a/x2gobroker/web/uccs.py
+++ b/x2gobroker/web/uccs.py
@@ -50,13 +50,16 @@ class X2GoBrokerWeb(tornado.web.RequestHandler):
             return self.post(backend)
         raise tornado.web.HTTPError(404)
 
-    def post(self, backend):
+    def head(self, backend):
 
         if not backend:
             backend = x2gobroker.defaults.X2GOBROKER_DEFAULT_BACKEND
         else:
             backend = backend.rstrip('/')
 
+        # get the first and the third item as backend, api_version
+        backend, api_version = backend.split('/')[:3:2]
+
         # silence pyflakes...
         broker_backend = None
 


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

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 "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list