From 11672d05127b48123251d7fe839e0a1d48b4e930 Mon Sep 17 00:00:00 2001 From: Nigel Dokter Date: Sun, 8 Jan 2017 11:44:20 +0100 Subject: [PATCH] pep8 --- dsmr_parser/protocol.py | 2 +- dsmr_parser/serial.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dsmr_parser/protocol.py b/dsmr_parser/protocol.py index 2ee9c32..f31748f 100644 --- a/dsmr_parser/protocol.py +++ b/dsmr_parser/protocol.py @@ -9,7 +9,7 @@ from serial_asyncio import create_serial_connection from . import telegram_specifications from .exceptions import ParseError from .parsers import TelegramParserV2_2, TelegramParserV4 -from .serial import (SERIAL_SETTINGS_V2_2, SERIAL_SETTINGS_V4,TelegramBuffer) +from .serial import (SERIAL_SETTINGS_V2_2, SERIAL_SETTINGS_V4, TelegramBuffer) def create_dsmr_protocol(dsmr_version, telegram_callback, loop=None): diff --git a/dsmr_parser/serial.py b/dsmr_parser/serial.py index 54128b3..1d92ba8 100644 --- a/dsmr_parser/serial.py +++ b/dsmr_parser/serial.py @@ -68,7 +68,6 @@ class SerialReader(object): logger.error('Failed to parse telegram: %s', e) - class AsyncSerialReader(SerialReader): """Serial reader using asyncio pyserial."""