Option files not closed after readfp()
Brought to you by:
edloper
Minor problem: config files not closed at end of use.
Revision 1157.
Suggestion:
-----------
@@ -261,6 +261,7 @@
fp = open(configfile, 'r') # may raise IOError.
log.debug('here2')
configparser.readfp(fp, configfile)
+ fp.close()
for optname in configparser.options('epydoc'):
val = configparser.get('epydoc', optname).strip()
if optname in ('modules', 'objects', 'values',
Logged In: YES
user_id=195958
Fixed in subversion, revision 1159
(And I got rid of those debug printfs while I was at it)