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
fix sfascan (don't pass timeout to xmlrpcprotocol) and review
[sfa.git]
/
sfa
/
util
/
sfalogging.py
diff --git
a/sfa/util/sfalogging.py
b/sfa/util/sfalogging.py
index
e1dfcaa
..
2e4640e
100644
(file)
--- a/
sfa/util/sfalogging.py
+++ b/
sfa/util/sfalogging.py
@@
-70,6
+70,9
@@
class _SfaLogger:
self.logger.setLevel(logging.INFO)
elif verbose>=2:
self.logger.setLevel(logging.DEBUG)
+ # in case some other code needs a boolean
+ def getBoolVerboseFromOpt(self,verbose):
+ return verbose>=1
####################
def info(self, msg):