(self, context, domain, attributes, class_vars, metas)
return (self.PERFECT_MATCH
                if (context.attributes == attributes and
                    context.class_vars == class_vars and
                    context.metas == metas)
                else self.NO_MATCH)
Context only matches when domains are the same
Context only matches when domains are the same
Context only matches when domains are the same
def match(self, context, domain, attributes, class_vars, metas):
        """Context only matches when domains are the same"""

        return (self.PERFECT_MATCH
                if (context.attributes == attributes and
                    context.class_vars == class_vars and
                    context.metas == metas)
                else self.NO_MATCH)
def match ( self , context , domain , attributes , class_vars , metas ) : return ( self . PERFECT_MATCH if ( context . attributes == attributes and context . class_vars == class_vars and context . metas == metas ) else self . NO_MATCH )