remove trailing whitespace everywhere

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-07-26 21:15:15 +02:00
parent 1693b9c407
commit 677f7c0a6a
219 changed files with 4400 additions and 4398 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
""" log invocations of extension hooks to a file. """
""" log invocations of extension hooks to a file. """
import py
def pytest_addoption(parser):
parser.addoption("--hooklog", dest="hooklog", default=None,
parser.addoption("--hooklog", dest="hooklog", default=None,
help="write hook calls to the given file.")
def pytest_configure(config):
@@ -10,7 +10,7 @@ def pytest_configure(config):
if hooklog:
config._hooklogfile = open(hooklog, 'w')
config._hooklog_oldperformcall = config.hook._performcall
config.hook._performcall = (lambda name, multicall:
config.hook._performcall = (lambda name, multicall:
logged_call(name=name, multicall=multicall, config=config))
def logged_call(name, multicall, config):
@@ -26,7 +26,7 @@ def logged_call(name, multicall, config):
def pytest_unconfigure(config):
try:
del config.hook.__dict__['_performcall']
del config.hook.__dict__['_performcall']
except KeyError:
pass
else: