def _expireRegistration(self, username):
        try:
            dc, url = self.users[username]
        except __HOLE__:
            return defer.fail(LookupError("no such user"))
        else:
            dc.cancel()
            del self.users[username]
        return defer.succeed(Registration(0, url))
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/protocols/sip.py/InMemoryRegistry._expireRegistration