def parse_slug(quoted_or_var):
    if (quoted_or_var[0] == quoted_or_var[-1]
    and ('"', "'") in quoted_or_var[0]):
        return StaticSlug(quoted_or_var[1:-1])
    return DynamicSlug(varname=quoted_or_var)
dataset/ETHPy150Open pbs/django-cms-pagetags/pagetags/templatetags/page_tags.py/parse_slug/swapped operands of `in`