parse -> parse_response in web app

This commit is contained in:
Aldo Cortesi 2012-06-26 15:09:05 +12:00
parent 33be5a72bf
commit 65aef81997

View File

@ -58,7 +58,7 @@ def preview():
error = None error = None
) )
try: try:
r = rparse.parse(app.config["pathod"].request_settings, spec) r = rparse.parse_response(app.config["pathod"].request_settings, spec)
except rparse.ParseException, v: except rparse.ParseException, v:
args["syntaxerror"] = str(v) args["syntaxerror"] = str(v)
args["marked"] = v.marked() args["marked"] = v.marked()