def destroy(self):
try:
if os.path.exists(self.filename):
os.unlink(self.filename)
except Exception as e:
log.error(_("Could not destroy the repository."),
detail=unicode(e))
return False
log.info(_("The repository has been destroyed."))
return True
评论列表
文章目录