summaryrefslogtreecommitdiffstats
path: root/Demo/dns/dnslib.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-02-28 17:25:14 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-02-28 17:25:14 (GMT)
commit01b3aa4d08085083c5ecc622ade790441083420f (patch)
tree7ce054bb72e8cda90fb0995d6eb9295ca05f8fc6 /Demo/dns/dnslib.py
parent98d9fd3e68075ce6fe7642ed8793c1abee69edf6 (diff)
downloadcpython-01b3aa4d08085083c5ecc622ade790441083420f.zip
cpython-01b3aa4d08085083c5ecc622ade790441083420f.tar.gz
cpython-01b3aa4d08085083c5ecc622ade790441083420f.tar.bz2
Fix use of list.append() with multiple arguments
Diffstat (limited to 'Demo/dns/dnslib.py')
-rwxr-xr-xDemo/dns/dnslib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/dns/dnslib.py b/Demo/dns/dnslib.py
index bf4c6cc..4e1fb87 100755
--- a/Demo/dns/dnslib.py
+++ b/Demo/dns/dnslib.py
@@ -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'