PEP 8 clean thanks to auto pep8

This commit is contained in:
Julien Duponchelle committed 2015-01-20 13:24:00 +01:00
1 parent 7f185663d1
commit f5ed9fbcf1
124 files changed
+340 -210

No files matched your search

+2
View File
@@ -22,7 +22,9 @@ from gns3server.web.route import Route
class Documentation(object):
"""Extract API documentation as Sphinx compatible files"""
def __init__(self, route):
self._documentation = route.get_documentation()
+1
View File
@@ -38,6 +38,7 @@ class Response(aiohttp.web.Response):
:param anwser The response as a Python object
"""
def json(self, answer):
"""Pass a Python object and return a JSON as answer"""
+1
View File
@@ -49,6 +49,7 @@ def parse_request(request, input_schema):
class Route(object):
""" Decorator adding:
* json schema verification
* routing inside handlers