X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=djbdns%2Fio.py;fp=djbdns%2Fio.py;h=a3e6e430e8a7e7a19890b7d94af36eff3e42b86d;hb=36a54466cf29666e492b48c4308d159d5cfcb11a;hp=7af36a0233949b70039a1e76f1f7042607d66d46;hpb=a611bb44925f0bf07b0cbdde0d38c20aaf7aaa0f;p=djbdns-logparse.git diff --git a/djbdns/io.py b/djbdns/io.py index 7af36a0..a3e6e43 100644 --- a/djbdns/io.py +++ b/djbdns/io.py @@ -42,6 +42,8 @@ def parse_logfile(file : TextIO): bufsize=0) as tai: if not tai.stdin or not tai.stdout: + # Mypy tells me that this can happen, based on the type + # annotations in the standard library I guess? return for line in file: