Commit 68ecf587 authored by Vincent Pelletier's avatar Vincent Pelletier

Always remove '-C' parameter.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26565 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent edb3a048
...@@ -189,6 +189,8 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): ...@@ -189,6 +189,8 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
#LOG("Selection", 0, str(method)) #LOG("Selection", 0, str(method))
#LOG('Selection', 0, "self.invert_mode = %s" % repr(self.invert_mode)) #LOG('Selection', 0, "self.invert_mode = %s" % repr(self.invert_mode))
kw = self.params.copy() kw = self.params.copy()
# Always remove '-C'-named parameter.
kw.pop('-C', None)
if self.invert_mode is not 0: if self.invert_mode is not 0:
kw['uid'] = self.uids kw['uid'] = self.uids
if method is None or isinstance(method, str): if method is None or isinstance(method, str):
......
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