def __eq__(self, other):
        try:
            x = '%s:%s' % (self.identifier, self._site_id)
            y = '%s:%s' % (other.identifier, other._site_id)
            return x == y
        except:
            raise TypeError('Other object is not a Resource type')
Serve client connections.
dataset/ETHPy150Open dropbox/pynsot/pynsot/models.py/Resource.__eq__--crossover with--dataset/ETHPy150Open OpenKMIP/PyKMIP/kmip/services/server/server.py/KmipServer.serve