[X2Go-Commits] python-x2go.git - twofactorauth (branch) updated: 0.0.38.0-59-g347395a

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


The branch, twofactorauth has been updated
       via  347395aecfda39e56dc78e99de4b4de01197e612 (commit)
      from  6ae080e1e25379e91fdf8c58df5e91fd3b259940 (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/inifiles.py |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

The diff of changes is:
diff --git a/x2go/inifiles.py b/x2go/inifiles.py
index e51b544..e110366 100644
--- a/x2go/inifiles.py
+++ b/x2go/inifiles.py
@@ -82,6 +82,8 @@ class X2goIniFile(object):
             self.logger = copy.deepcopy(logger)
         self.logger.tag = __NAME__
 
+        self.config_files = config_files
+
         if utils._checkIniFileDefaults(defaults):
             self.defaultValues = defaults
 
@@ -93,7 +95,7 @@ class X2goIniFile(object):
         self.iniConfig.optionxform = str
 
         _create_file = False
-        for file_name in config_files:
+        for file_name in self.config_files:
             if file_name.startswith(_current_home):
                 if not os.path.exists(file_name):
                     utils.touch_file(file_name)
@@ -111,9 +113,9 @@ class X2goIniFile(object):
         R(e-r)ead configuration file(s).
 
         """
-        self.logger('proposed config files are %s' % self.config_files, log.loglevel_INFO, )
+        self.logger('proposed config files are %s' % self.config_files, loglevel=log.loglevel_INFO, )
         _found_config_files = self.iniConfig.read(self.config_files)
-        self.logger('config files found: %s' % _found_config_files or 'none', log.loglevel_INFO, )
+        self.logger('config files found: %s' % _found_config_files or 'none', loglevel=log.loglevel_INFO, )
 
         for file_name in _found_config_files:
             if file_name.startswith(_current_home):


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