From e3c8c921986cac05a75223c2b53cf75669151c20 Mon Sep 17 00:00:00 2001 From: Johan Bloemberg Date: Sat, 12 Nov 2016 01:36:36 +0100 Subject: [PATCH] Linting and tpyo --- dsmr_parser/serial.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dsmr_parser/serial.py b/dsmr_parser/serial.py index 0d716fd..6f47b1c 100644 --- a/dsmr_parser/serial.py +++ b/dsmr_parser/serial.py @@ -71,6 +71,7 @@ class SerialReader(object): yield self.telegram_parser.parse(telegram) telegram = [] + class AsyncSerialReader(SerialReader): """Serial reader using asyncio pyserial.""" @@ -110,4 +111,3 @@ class AsyncSerialReader(SerialReader): # push new parsed telegram onto queue queue.put_nowait(self.telegram_parser.parse(telegram)) telegram = [] - diff --git a/setup.py b/setup.py index 855f005..3a919fa 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( packages=find_packages(), install_requires=[ 'pyserial>=3,<4', - 'pyserial-asyncio<1' + 'pyserial-asyncio<1', 'pytz' ], entry_points={