From: Michael Orlitzky Date: Thu, 22 Sep 2022 13:40:39 +0000 (-0400) Subject: djbdns/io.py: add a comment about an early return. X-Git-Tag: 0.0.1~2 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=36a54466cf29666e492b48c4308d159d5cfcb11a;p=djbdns-logparse.git djbdns/io.py: add a comment about an early return. --- 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: