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

This commit is contained in:
Vinay Sajip 2006-07-01 10:47:20 +00:00
parent 28e57618ad
commit a09803329c
1 changed files with 2 additions and 0 deletions

View File

@ -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))