Commit 3578c5d2 authored by Hanno Schlichting's avatar Hanno Schlichting

Simplify make_query a bit

parent 069dcc63
......@@ -445,10 +445,9 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
query = {}
query.update(request.keywords)
real_req = request.request
if isinstance(request.request, dict):
if isinstance(real_req, dict):
query.update(real_req)
else:
real_req = request.request
real_req = None
else:
real_req = request
......
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