def __sub__(self, other):
        differing = {}

        slf = {}
        for category in ['remote', 'issue']:
            slf[category] = self[category].copy()
            for k, v in other[category].items():
                if k not in slf[category]:
                    if differing not in category:
                        differing[category] = {}
                    differing[category][k] = (v, None, )
                    continue
                l_v = slf[category].pop(k)
                if l_v != v:
                    if category not in differing:
                        differing[category] = {}
                    differing[category][k] = (v, l_v, )

            for k, v in slf[category].items():
                if category not in differing:
                    differing[category] = {}
                differing[category][k] = (None, v)

        return differing
dataset/ETHPy150Open coddingtonbear/jirafs/jirafs/jiralinkmanager.py/JiraLinkManager.__sub__/swapped operands of `not in`