pylint: fix W0102 dangerous-default-value

parent a4de2fb6
......@@ -85,8 +85,10 @@ def sendto_msg(stream, message, addr=None):
raise
def replay_rrs(rrs, nqueries, destination, args=[]):
def replay_rrs(rrs, nqueries, destination, args=None):
""" Replay list of queries and report statistics. """
if args is None:
args = []
navail, queries = len(rrs), []
chunksize = 16
for i in range(nqueries if 'RAND' in args else navail):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment