Merge pull request #169 from ryanpetrello/next

Resolve a few pep8 issues
This commit is contained in:
markmcclain
2013-01-18 12:44:09 -08:00
2 changed files with 5 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ def after_commit(action):
:param action: The callable to call after the commit is successfully
issued.
'''
return after_action('commit', action)
return after_action('commit', action)
def after_rollback(action):
@@ -129,7 +129,7 @@ def after_rollback(action):
:param action: The callable to call after the rollback is successfully
issued.
'''
return after_action('rollback', action)
return after_action('rollback', action)
def accept_noncanonical(func):

View File

@@ -1082,7 +1082,7 @@ class TestRequestViewerHook(TestCase):
RootController(),
hooks=[
RequestViewerHook(
config={'items':['path']}, writer=_stdout
config={'items': ['path']}, writer=_stdout
)
]
)
@@ -1117,7 +1117,7 @@ class TestRequestViewerHook(TestCase):
RootController(),
hooks=[
RequestViewerHook(
config={'blacklist':['/']}, writer=_stdout
config={'blacklist': ['/']}, writer=_stdout
)
]
)
@@ -1144,7 +1144,7 @@ class TestRequestViewerHook(TestCase):
RootController(),
hooks=[
RequestViewerHook(
config={'items':['date']}, writer=_stdout
config={'items': ['date']}, writer=_stdout
)
]
)