diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-02-28 17:25:14 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-02-28 17:25:14 (GMT) |
commit | 01b3aa4d08085083c5ecc622ade790441083420f (patch) | |
tree | 7ce054bb72e8cda90fb0995d6eb9295ca05f8fc6 /Demo/dns/dnslib.py | |
parent | 98d9fd3e68075ce6fe7642ed8793c1abee69edf6 (diff) | |
download | cpython-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-x | Demo/dns/dnslib.py | 2 |
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' |