Fix missing attribute in Fifo.

Leonardo Barcaroli 2019-02-07 12:04:58 +01:00
parent 01ffec868a
commit 83b91cca78
2 changed files with 4 additions and 0 deletions

3
.pylintrc 100644
View File

@ -0,0 +1,3 @@
[MASTER]
#py3k
max-line-length=88

View File

@ -53,6 +53,7 @@ class Fifo:
if err.errno != errno.EEXIST:
logger.critical("Could not open control pipe at: %s", fifopath)
raise
self.path = fifopath
self.fh = open(fifopath, mode)
def __iter__(self): # pragma: noqa