Fix use of list.append() with multiple arguments

This commit is contained in:
Andrew M. Kuchling 2000-02-28 17:25:14 +00:00
parent 98d9fd3e68
commit 01b3aa4d08
1 changed files with 1 additions and 1 deletions

View File

@ -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'