git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
2303773
)
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
author
smbaker
<smbaker@fc8clean.lan>
Thu, 7 Jul 2011 18:04:25 +0000
(11:04 -0700)
committer
smbaker
<smbaker@fc8clean.lan>
Thu, 7 Jul 2011 18:04:25 +0000
(11:04 -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
199066d
..
3ec0350
--- a/
sfa/util/sfalogging.py
+++ b/
sfa/util/sfalogging.py
@@
-79,6
+79,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)