Commit 2f6ff210 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Do not override 'format' built-in.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1367 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 4bab86ad
...@@ -29,8 +29,8 @@ def setupLog(name='NEO', filename=None, verbose=False): ...@@ -29,8 +29,8 @@ def setupLog(name='NEO', filename=None, verbose=False):
level = logging_std.DEBUG level = logging_std.DEBUG
else: else:
level = logging_std.INFO level = logging_std.INFO
format = PREFIX + SUFFIX fmt = PREFIX + SUFFIX
logging_std.basicConfig(filename=filename, level=level, format=format) logging_std.basicConfig(filename=filename, level=level, format=fmt)
logging = logging_std.getLogger(name.upper()) logging = logging_std.getLogger(name.upper())
from neo import protocol from neo import protocol
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment