X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=djbdns%2Fdnscache.py;fp=djbdns%2Fdnscache.py;h=a67060bb545ed0d57dbb5ab7da6345e9dc7a2fe3;hb=db1cc70a2cd45943ed33520f82a773acd4f2a520;hp=7fed987195c3d39b466512a57258f6b28411d818;hpb=f8971980184acdac6243e806e635b420ccef1d3f;p=djbdns-logparse.git diff --git a/djbdns/dnscache.py b/djbdns/dnscache.py index 7fed987..a67060b 100644 --- a/djbdns/dnscache.py +++ b/djbdns/dnscache.py @@ -2,7 +2,7 @@ import re from typing import Optional -from djbdns.common import * +from djbdns.common import convert_ip, query_type_name, timestamp_pat # The regex to match dnscache log lines. dnscache_log_re = re.compile(fr'({timestamp_pat}) (\w+)(.*)')