diff options
Diffstat (limited to 'libpathod/pathoc.py')
-rw-r--r-- | libpathod/pathoc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py index 9ff03eca..e534bba5 100644 --- a/libpathod/pathoc.py +++ b/libpathod/pathoc.py @@ -80,7 +80,7 @@ class Pathoc(tcp.TCPClient): May raise language.ParseException, netlib.http.HttpError or language.FileAccessDenied. """ - r = language.parse_request(self.settings, spec) + r = language.parse_request(spec) language.serve(r, self.wfile, self.settings, self.address.host) self.wfile.flush() ret = list(http.read_response(self.rfile, r.method.string(), None)) @@ -115,7 +115,7 @@ class Pathoc(tcp.TCPClient): Returns True if we have a non-ignored response. """ try: - r = language.parse_request(self.settings, spec) + r = language.parse_request(spec) except language.ParseException, v: print >> fp, "Error parsing request spec: %s"%v.msg print >> fp, v.marked() |