2
2
# (C) Canonical, Ltd. Licensed under the GPL
4
4
class clueCondition(object):
5
def __init__(self, and_cond, or_cond, simple_cond, not_cond):
5
def __init__(self, and_cond, or_cond, simple_cond, not_cond, cond_field = None):
8
8
self.simple_cond = simple_cond
18
19
return "clueCondition(%s)" % ' && '.join([str(cond)
19
20
for cond in self.and_cond])