[X2Go-Commits] x2gobroker.git - build-main (branch) updated: 0.0.0.1-30-gafc89fc

X2Go dev team git-admin at x2go.org
Sun May 19 13:04:45 CEST 2013


The branch, build-main has been updated
       via  afc89fc0421a3061f9caa388e3f0de17a0b41575 (commit)
      from  e62340932ce2e795b38309453f8754cd500ecf4d (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/brokers/base_broker.py |    4 ++++
 1 file changed, 4 insertions(+)

The diff of changes is:
diff --git a/x2gobroker/brokers/base_broker.py b/x2gobroker/brokers/base_broker.py
index 9c710b3..7b812a3 100644
--- a/x2gobroker/brokers/base_broker.py
+++ b/x2gobroker/brokers/base_broker.py
@@ -36,6 +36,8 @@ import x2gobroker.config
 import x2gobroker.defaults
 import x2gobroker.agent
 
+from x2gobroker.loggers import logger_broker, logger_error
+
 class X2GoBroker(object):
     """\
     L{base.X2GoBroker} is an abstract class for X2Go broker implementations.
@@ -414,9 +416,11 @@ class X2GoBroker(object):
         _auth_mech = ""
         if self.config.has_value('global', 'default-auth-mech'):
             _default_auth_mech = self.config.get_value('global', 'default-auth-mech').lower()
+            logger_broker.debug('base_broker.X2GoBroker.get_authentication_mechanism(): found default-auth-mech in global config section: {value}'.format(value=_default_auth_mech))
 
         if self.config.has_value(self.backend_name, 'auth-mech'):
             _auth_mech = self.config.get_value(self.backend_name, 'auth-mech').lower()
+            logger_broker.debug('base_broker.X2GoBroker.get_authentication_mechanism(): found auth-mech in backend config section »{backend}«: {value}'.format(backend=self.backend_name, value=_auth_mech))
 
         return unicode(_auth_mech) or unicode(_default_auth_mech)
 


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