git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace SFA_API_DEBUG (bool) with SFA_API_LOGLEVEL (int)
[sfa.git]
/
sfa
/
importer
/
sfa-import-plc.py
diff --git
a/sfa/importer/sfa-import-plc.py
b/sfa/importer/sfa-import-plc.py
index
d41bbd4
..
2371536
100755
(executable)
--- a/
sfa/importer/sfa-import-plc.py
+++ b/
sfa/importer/sfa-import-plc.py
@@
-71,7
+71,7
@@
def main():
keys_filename = config.config_path + os.sep + 'person_keys.py'
sfaImporter = sfaImport()
logger=sfaImporter.logger
keys_filename = config.config_path + os.sep + 'person_keys.py'
sfaImporter = sfaImport()
logger=sfaImporter.logger
-
if config.SFA_API_DEBUG: logger.setLevelDebug(
)
+
logger.setLevelFromOptVerbose(config.SFA_API_LOGLEVEL
)
shell = sfaImporter.shell
# initialize registry db table
shell = sfaImporter.shell
# initialize registry db table