Fix missing attribute in Fifo.

This commit is contained in:
sfigato 2019-02-07 12:04:58 +01:00 committed by blallo
parent 35ff892db1
commit 5707698b66
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 4 additions and 0 deletions

3
.pylintrc Normal file
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: if err.errno != errno.EEXIST:
logger.critical("Could not open control pipe at: %s", fifopath) logger.critical("Could not open control pipe at: %s", fifopath)
raise raise
self.path = fifopath
self.fh = open(fifopath, mode) self.fh = open(fifopath, mode)
def __iter__(self): # pragma: noqa def __iter__(self): # pragma: noqa