]> gitweb.michael.orlitzky.com - djbdns-logparse.git/commitdiff
bin/djbdns-logparse: remove unused warn() function.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Sep 2022 00:54:17 +0000 (20:54 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Sep 2022 00:54:17 +0000 (20:54 -0400)
bin/djbdns-logparse

index 76522c5c0e9c886762eb0e01a40613cd5bf43c8f..44514f15b4c610882cfa7ab03a4f647c091f6818 100755 (executable)
@@ -67,9 +67,6 @@ query_drop_reason = {
     }
 
 
-def warn(filename, msg):
-    sys.stderr.write("warning: %s: %s\n" % (filename, msg))
-
 def convert_ip(ip):
     """Convert a hex string representing an IP address to conventional
     human-readable form, ie. dotted-quad decimal for IPv4, and