pycodestyle fixes

This commit is contained in:
Alex Mekkering 2017-01-04 15:01:20 +01:00 committed by GitHub
parent 03b761e15b
commit 8b60d48edd

View File

@ -77,7 +77,7 @@ class DSMRProtocol(asyncio.Protocol):
while crlf in self.buffer: while crlf in self.buffer:
line, self.buffer = self.buffer.split(crlf, 1) line, self.buffer = self.buffer.split(crlf, 1)
self.log.debug('got line: %s', line) self.log.debug('got line: %s', line)
line += crlf # add the trailing crlf again line += crlf # add the trailing crlf again
# Telegrams need to be complete because the values belong to a # Telegrams need to be complete because the values belong to a
# particular reading and can also be related to eachother. # particular reading and can also be related to eachother.