Merge pull request #169 from ryanpetrello/next
Resolve a few pep8 issues
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user