[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated: 0.1.1.4-246-g9dc305a

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


The branch, twofactorauth has been updated
       via  9dc305a53a2f9c7101ef8f3be64ace4ec41bd8ba (commit)
      from  05f98034c7110a93838c20559fe885477d71b037 (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 |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

The diff of changes is:
diff --git a/x2go/utils.py b/x2go/utils.py
index 652799d..0333afe 100644
--- a/x2go/utils.py
+++ b/x2go/utils.py
@@ -186,7 +186,11 @@ def _convert_SessionProfileOptions_2_SessionParams(_options):
         if opt in _rename_dict.keys():
             del _params[opt]
             opt = _rename_dict[opt]
-            _params[opt] = val
+            if opt in _known_options:
+                _type = _type(_known_options[opt])
+                _params[opt] = _type(val)
+            else:
+                _params[opt] = val
 
         # translate integer values for connection speed to readable strings
         if opt == 'link':


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