def METHOD_NAME(self, token):
    if token not in self.token2nodepath:
        self.notify.warning("unregisterParent: unknown parent token '%s'" %
                            token)
        return
    self.notify.debug("unregistering parent '%s'" % (token))
    del self.token2nodepath[token]