def cleanup(self): """ clean up any remaining files """ print(_("Cleaning up."), file=sys.stderr) # remove files in import db subdir after use self.dbstate.db.close() if self.imp_db_path: rm_tempdir(self.imp_db_path)