From: Andrew M. Kuchling Date: Mon, 28 Feb 2000 17:25:14 +0000 (+0000) Subject: Fix use of list.append() with multiple arguments X-Git-Tag: v1.6a1~335 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01b3aa4d08085083c5ecc622ade790441083420f;p=thirdparty%2FPython%2Fcpython.git Fix use of list.append() with multiple arguments --- diff --git a/Demo/dns/dnslib.py b/Demo/dns/dnslib.py index bf4c6ccd0da0..4e1fb87b2c09 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'