git://developer.intra2net.com
/
pyi2ncommon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix a small bug in log helper
[pyi2ncommon]
/
src
/
log_helpers.py
diff --git
a/src/log_helpers.py
b/src/log_helpers.py
index
e416bea
..
e85db0b
100644
(file)
--- a/
src/log_helpers.py
+++ b/
src/log_helpers.py
@@
-235,7
+235,7
@@
class I2nLogger:
# create new handlers and formatter
if streams is None:
- stream = []
+ streams = []
elif not isinstance(streams, (list, tuple)):
streams = (streams, )
for stream in streams: