git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3ecf9e
)
added warning() method to logger
author
smbaker
<smbaker@fc8clean.lan>
Thu, 7 Jul 2011 17:59:16 +0000
(10:59 -0700)
committer
smbaker
<smbaker@fc8clean.lan>
Thu, 7 Jul 2011 17:59:16 +0000
(10:59 -0700)
sfa/util/sfalogging.py
[changed mode: 0755->0644]
patch
|
blob
|
history
diff --git
a/sfa/util/sfalogging.py
b/sfa/util/sfalogging.py
old mode 100755
(executable)
new mode 100644
(file)
index
3991d33
..
93e3073
--- a/
sfa/util/sfalogging.py
+++ b/
sfa/util/sfalogging.py
@@
-71,6
+71,10
@@
class _SfaLogger:
def warn(self, msg):
self.logger.warn(msg)
+
+ # some code is using logger.warn(), some is using logger.warning()
+ def warning(self, msg):
+ self.logger.warning(msg)
def error(self, msg):
self.logger.error(msg)