Commit 01b3aa4d authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix use of list.append() with multiple arguments

parent 98d9fd3e
......@@ -101,7 +101,7 @@ class Packer:
label = list[j]
n = len(label)
if offset + len(buf) < 0x3FFF:
index.append(keys[j], offset + len(buf))
index.append( (keys[j], offset + len(buf)) )
else:
print 'dnslib.Packer.addname:',
print 'warning: pointer too big'
......
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