Skip to content

Commit

Permalink
benchmark.py: whitespace cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Hess committed Oct 13, 2008
1 parent a93f6ce commit 8c81475
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lobbyists/benchmark.py
Expand Up @@ -54,7 +54,7 @@ def time_parse(doc):
Returns a tuple. The first item is the time (in seconds) taken to
parse the entire document, and the second is the list of all
parsed filings.
"""
timed_parser = _timed_func(_parse_all)
return timed_parser(doc)
Expand All @@ -72,15 +72,15 @@ def time_import(cur, parsed_filings, skiplist=None):
"""Import parsed filings into a database and time it.
cur - The DB API 2.0-compliant database cursor.
parsed_filings - A sequence of parsed filings.
skiplist - Either None (the default), or a list of filing element
names ('registrant', 'client', etc.). Any filing element name that
appears in the list is skipped at import time. This feature is
useful for stubbing out specific import functions when you don't
want them to impact the benchmark.
Returns a tuple. The first item is the time (in seconds) taken by
the import, and the second is the return value of
lobbyist.import_filings.
Expand Down

0 comments on commit 8c81475

Please sign in to comment.