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

+1
View File
@@ -36,6 +36,7 @@ from gns3server.modules.project_manager import ProjectManager
class Query:
def __init__(self, loop, host='localhost', port=8001):
self._loop = loop
self._port = port
+2
View File
@@ -20,6 +20,7 @@ from unittest.mock import patch
class _asyncio_patch:
"""
A wrapper around python patch supporting asyncio.
Like the original patch you can use it as context
@@ -29,6 +30,7 @@ class _asyncio_patch:
inspiration:
https://hg.python.org/cpython/file/3.4/Lib/unittest/mock.py
"""
def __init__(self, function, *args, **kwargs):
self.function = function
self.args = args