type = int(type, 16) # "001c" -> 28
type = query_type.get(type, type) # 28 -> "aaaa"
- print(timestamp,)
+ print(timestamp, end=' ')
if code == "+":
print ("sent response to %s:%s (id %s): %s %s"
handle_dnscache_log(line, match)
continue
- sys.stdout.write(line)
+ print(line)
def main():
# Create an argument parser using the file's docsctring as its