PEP8 formatting
This commit is contained in:
@@ -398,7 +398,8 @@ def view_node(project_url, node_id):
|
|||||||
raise wz_exceptions.NotFound('No such node')
|
raise wz_exceptions.NotFound('No such node')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
project = Project.find_one({'where': {"url": project_url, '_id': node.project}}, api=api)
|
project = Project.find_one({'where': {"url": project_url, '_id': node.project}},
|
||||||
|
api=api)
|
||||||
except ResourceNotFound:
|
except ResourceNotFound:
|
||||||
# In theatre mode, we don't need access to the project at all.
|
# In theatre mode, we don't need access to the project at all.
|
||||||
if theatre_mode:
|
if theatre_mode:
|
||||||
|
Reference in New Issue
Block a user