def run_preremove(self): if ctx.comar: import pisi.comariface as comariface comariface.run_preremove(self.package_name) else: # TODO: store this somewhere pass