def __exit__(self, exc_type, exc_value, tb):
# If we get an invalid oauth client we better clean up the tenant
# and swallow the error.
if isinstance(exc_value, OauthClientInvalidError):
self.tenant.delete()
return True
评论列表
文章目录