]> gitweb.michael.orlitzky.com - djbdns-logparse.git/blobdiff - djbdns/io.py
*/*: reorganize for easy testing using setuptools or tox.
[djbdns-logparse.git] / djbdns / io.py
similarity index 95%
rename from src/djbdns/io.py
rename to djbdns/io.py
index eee86cb3d4b99e888065e6384a4cf5438a3a2b30..7c70bab3debcf2b78ad43e18146488740cdf1c4e 100644 (file)
@@ -44,3 +44,6 @@ def parse_logfile(file : TextIO):
                 friendly_line = line
 
         print(friendly_line)
+
+    # Ensure that the pipe gets closed.
+    tai.communicate()