Commit a0980332 authored by Vinay Sajip's avatar Vinay Sajip

Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.

parent 28e57618
...@@ -480,6 +480,8 @@ def test4(): ...@@ -480,6 +480,8 @@ def test4():
f.close() f.close()
try: try:
logging.config.fileConfig(fn) logging.config.fileConfig(fn)
#call again to make sure cleanup is correct
logging.config.fileConfig(fn)
except: except:
t = sys.exc_info()[0] t = sys.exc_info()[0]
message(str(t)) message(str(t))
......
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