Linting and tpyo

This commit is contained in:
Johan Bloemberg 2016-11-12 01:36:36 +01:00
parent 9363840042
commit e3c8c92198
No known key found for this signature in database
GPG Key ID: B1AE6948ED49BB55
2 changed files with 2 additions and 2 deletions

View File

@ -71,6 +71,7 @@ class SerialReader(object):
yield self.telegram_parser.parse(telegram) yield self.telegram_parser.parse(telegram)
telegram = [] telegram = []
class AsyncSerialReader(SerialReader): class AsyncSerialReader(SerialReader):
"""Serial reader using asyncio pyserial.""" """Serial reader using asyncio pyserial."""
@ -110,4 +111,3 @@ class AsyncSerialReader(SerialReader):
# push new parsed telegram onto queue # push new parsed telegram onto queue
queue.put_nowait(self.telegram_parser.parse(telegram)) queue.put_nowait(self.telegram_parser.parse(telegram))
telegram = [] telegram = []

View File

@ -10,7 +10,7 @@ setup(
packages=find_packages(), packages=find_packages(),
install_requires=[ install_requires=[
'pyserial>=3,<4', 'pyserial>=3,<4',
'pyserial-asyncio<1' 'pyserial-asyncio<1',
'pytz' 'pytz'
], ],
entry_points={ entry_points={