applied suggestions
This commit is contained in:
parent
930730ac81
commit
66ebf72cc4
|
@ -113,9 +113,7 @@ def _create_formatters(cp):
|
||||||
dfs = cp.get(sectname, "datefmt", raw=True, fallback=None)
|
dfs = cp.get(sectname, "datefmt", raw=True, fallback=None)
|
||||||
stl = cp.get(sectname, "style", raw=True, fallback='%')
|
stl = cp.get(sectname, "style", raw=True, fallback='%')
|
||||||
vldstr = cp.get(sectname, "validate", raw=True, fallback="True")
|
vldstr = cp.get(sectname, "validate", raw=True, fallback="True")
|
||||||
vld = True
|
vld = (vldstr != "False")
|
||||||
if vldstr == "False":
|
|
||||||
vld = False
|
|
||||||
c = logging.Formatter
|
c = logging.Formatter
|
||||||
class_name = cp[sectname].get("class")
|
class_name = cp[sectname].get("class")
|
||||||
if class_name:
|
if class_name:
|
||||||
|
|
Loading…
Reference in New Issue