Added duplicate call to fileConfig() to ensure that it cleans up after itself correctly.
This commit is contained in:
parent
28e57618ad
commit
a09803329c
|
@ -480,6 +480,8 @@ def test4():
|
|||
f.close()
|
||||
try:
|
||||
logging.config.fileConfig(fn)
|
||||
#call again to make sure cleanup is correct
|
||||
logging.config.fileConfig(fn)
|
||||
except:
|
||||
t = sys.exc_info()[0]
|
||||
message(str(t))
|
||||
|
|
Loading…
Reference in New Issue