PEP8 formatting

This commit is contained in:
Sybren A. Stüvel 2017-05-24 15:48:21 +02:00
parent 2ba52e2467
commit 4edbcd6a98

View File

@ -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: