def handle_auth(self, conn, response):
        metadata = []
        if response.get('identity'):
            metadata.append("Identity: %r" % response['identity'])

        if response.get('permission_count'):
            metadata.append(response['permission_count'] % "Permissions: %d")

        if response.get('identity_url'):
            metadata.append(response['identity_url'])

        self.logger.info('[%s] AUTH accepted %s' % (conn, ' '.join(metadata)))
        self.on_auth.send(self, conn=conn, response=response)
dataset/ETHPy150Open wtolson/gnsq/gnsq/reader.py/Reader.handle_auth/swapped operands of `%`