mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Use black with -l 120 param.
This commit is contained in:
1 parent
f928738bd5
commit
c021e21309
194 files changed
+6034
-4564
No files matched your search
@@ -31,7 +31,6 @@ if sys.platform.startswith("win"):
|
||||
|
||||
|
||||
class SerialReaderWriterProtocol(asyncio.Protocol):
|
||||
|
||||
def __init__(self):
|
||||
self._output = asyncio.StreamReader()
|
||||
self._closed = False
|
||||
@@ -135,6 +134,6 @@ async def asyncio_open_serial(path):
|
||||
"""
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
return (await _asyncio_open_serial_windows(path))
|
||||
return await _asyncio_open_serial_windows(path)
|
||||
else:
|
||||
return (await _asyncio_open_serial_unix(path))
|
||||
return await _asyncio_open_serial_unix(path)
|
||||
Reference in new issue
Block a user