[Epydoc-commits] SF.net SVN: epydoc: [1159] trunk/epydoc/src/epydoc/cli.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-04-04 16:28:20
|
Revision: 1159 Author: edloper Date: 2006-04-04 09:28:13 -0700 (Tue, 04 Apr 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1159&view=rev Log Message: ----------- - Fixed sf bug #1464341: Option files not closed after readfp() - Removed 2 debug printfs Modified Paths: -------------- trunk/epydoc/src/epydoc/cli.py Modified: trunk/epydoc/src/epydoc/cli.py =================================================================== --- trunk/epydoc/src/epydoc/cli.py 2006-04-04 15:19:28 UTC (rev 1158) +++ trunk/epydoc/src/epydoc/cli.py 2006-04-04 16:28:13 UTC (rev 1159) @@ -257,10 +257,9 @@ # ConfigParser.read() silently ignores errors, so open the files # manually (since we want to notify the user of any errors). for configfile in configfiles: - log.debug('here') 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', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |