def __call__(self, context, kw): s1, s2 = self.strings if macros.has_macro(s1): s1 = macros.process(s1, context, kw) if macros.has_macro(s2): s1 = macros.process(s2, context, kw) return s1 == s2
def __call__(self, context, kw): if macros.has_macro(member_str): member_str = macros.process(self.member_str, context, kw) member_id = int(member_str)