projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d9fd3
)
Fix use of list.append() with multiple arguments
author
Andrew M. Kuchling
<amk@amk.ca>
Mon, 28 Feb 2000 17:25:14 +0000
(17:25 +0000)
committer
Andrew M. Kuchling
<amk@amk.ca>
Mon, 28 Feb 2000 17:25:14 +0000
(17:25 +0000)
Demo/dns/dnslib.py
patch
|
blob
|
history
diff --git
a/Demo/dns/dnslib.py
b/Demo/dns/dnslib.py
index bf4c6ccd0da084bdba5e92b18aa890e33166b6d7..4e1fb87b2c091fcf455a538cc4eeba442ebae4b1 100755
(executable)
--- 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'