diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index 76d539dbfd3cafa8c7dd957698439bc4564ac66e..66cda6927eb98ae532cae9c7f016c4cf99c9d946 100644 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -517,12 +517,6 @@ class ComplexQuery(QueryMixin): Used in order to concatenate many queries """ def __init__(self, *args, **kw): - # XXX: python weirdness - # >>> def foo(a='a', *args): - # ... pass - # ... - # >>> foo('something', a='test') - # TypeError: foo() got multiple values for keyword argument 'a' self.query_list = args self.operator = kw.pop('operator', 'AND') # XXX: What is that used for ?! It's utterly dangerous.