Commit 15200732 authored by Martijn Pieters's avatar Martijn Pieters

Fix small bug in processing multiple records

parent ac87f73d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
############################################################################## ##############################################################################
__version__='$Revision: 1.73 $'[11:-2] __version__='$Revision: 1.74 $'[11:-2]
import re, sys, os, urllib, time, random, cgi, codecs import re, sys, os, urllib, time, random, cgi, codecs
from BaseRequest import BaseRequest from BaseRequest import BaseRequest
...@@ -512,6 +512,7 @@ class HTTPRequest(BaseRequest): ...@@ -512,6 +512,7 @@ class HTTPRequest(BaseRequest):
# it to the list # it to the list
n=record() n=record()
setattr(n,attr,item) setattr(n,attr,item)
mapping_object[key].append(n)
elif flags&RECORD: elif flags&RECORD:
b=mapping_object[key] b=mapping_object[key]
if flags&SEQUENCE: if flags&SEQUENCE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment