PEP8 formatting

This commit is contained in:
2017-12-21 15:26:32 +01:00
parent c2518e9ae1
commit 4c2632669b

View File

@@ -40,14 +40,14 @@ def _homepage_context() -> dict:
api = system_util.pillar_api() api = system_util.pillar_api()
latest_posts = Node.all({ latest_posts = Node.all({
'projection': { 'projection': {
'name': 1, 'name': 1,
'project': 1, 'project': 1,
'node_type': 1, 'node_type': 1,
'picture': 1, 'picture': 1,
'properties.url': 1, 'properties.url': 1,
'properties.content': 1, 'properties.content': 1,
'properties.attachments': 1 'properties.attachments': 1
}, },
'where': {'node_type': 'post', 'properties.status': 'published'}, 'where': {'node_type': 'post', 'properties.status': 'published'},
'embedded': {'project': 1}, 'embedded': {'project': 1},