mirror of https://github.com/python/cpython
Fix use of list.append() with multiple arguments
This commit is contained in:
parent
98d9fd3e68
commit
01b3aa4d08
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue