PEP8 formatting

This commit is contained in:
Sybren A. Stüvel 2016-07-07 11:57:59 +02:00
parent ff8d5c96b7
commit ff99134ac4

View File

@ -239,7 +239,7 @@ permissions_embedded_schema = {
'schema': {
'type': 'dict',
'schema': {
'user' : {
'user': {
'type': 'objectid',
'required': True,
},
@ -253,8 +253,8 @@ permissions_embedded_schema = {
},
'world': {
'type': 'list',
#'required': True,
'allowed': ['GET',]
# 'required': True,
'allowed': ['GET', ]
},
'is_free': {
'type': 'boolean',
@ -315,8 +315,8 @@ nodes_schema = {
'required': True
},
'properties': {
'type' : 'dict',
'valid_properties' : True,
'type': 'dict',
'valid_properties': True,
'required': True,
},
'permissions': {
@ -740,9 +740,9 @@ tokens = {
'resource_methods': ['GET', 'POST'],
# Allow 'token' to be returned with POST responses
#'extra_response_fields': ['token'],
# 'extra_response_fields': ['token'],
'schema' : tokens_schema
'schema': tokens_schema
}
files = {
@ -784,7 +784,6 @@ notifications = {
'schema': notifications_schema,
}
DOMAIN = {
'users': users,
'nodes': nodes,
@ -798,7 +797,6 @@ DOMAIN = {
'notifications': notifications
}
MONGO_HOST = os.environ.get('MONGO_HOST', 'localhost')
MONGO_PORT = os.environ.get('MONGO_PORT', 27017)
MONGO_DBNAME = os.environ.get('MONGO_DBNAME', 'eve')