figleaf_htmlizer: expand tabs, fix to 4-space indents. No functional changes.

This commit is contained in:
Brian Warner 2009-02-11 19:05:42 -07:00
parent 020715c8e7
commit f3ed579e74

View File

@ -59,7 +59,7 @@ def report_as_html(coverage, directory, exclude_patterns=[], root=None):
try: try:
pyfile = open(k) pyfile = open(k)
# print 'opened', k #print 'opened', k
except IOError: except IOError:
logger.warning('CANNOT OPEN: %s' % k) logger.warning('CANNOT OPEN: %s' % k)
continue continue
@ -245,7 +245,9 @@ def main():
default=None, default=None,
help="only pay attention to modules under this directory") help="only pay attention to modules under this directory")
option_parser.add_option('-q', '--quiet', action='store_true', dest='quiet', help='Suppress all but error messages') option_parser.add_option('-q', '--quiet', action='store_true',
dest='quiet',
help='Suppress all but error messages')
(options, args) = option_parser.parse_args() (options, args) = option_parser.parse_args()
@ -277,4 +279,3 @@ def main():
report_as_html(coverage, options.output_dir, report_as_html(coverage, options.output_dir,
read_exclude_patterns(options.exclude_patterns_file), read_exclude_patterns(options.exclude_patterns_file),
options.root) options.root)