summaryrefslogtreecommitdiffstats
path: root/keystone-moon/keystone/contrib/moon/exception.py
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2015-07-20 12:56:02 +0200
committerWuKong <rebirthmonkey@gmail.com>2015-07-20 12:56:02 +0200
commit098a966477ffe60b1ebe6eba6fff55ff6e8f3042 (patch)
tree04f1690feef0c39406f2d20dd53aa806e6a0c08f /keystone-moon/keystone/contrib/moon/exception.py
parent37ffcbf7e825317559d8e49ff9b60b8c5570405d (diff)
review code
Change-Id: I16e40a78609687751fad4e80f3f709038513f229 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'keystone-moon/keystone/contrib/moon/exception.py')
-rw-r--r--keystone-moon/keystone/contrib/moon/exception.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/keystone-moon/keystone/contrib/moon/exception.py b/keystone-moon/keystone/contrib/moon/exception.py
index f18e4a47..1bf36abd 100644
--- a/keystone-moon/keystone/contrib/moon/exception.py
+++ b/keystone-moon/keystone/contrib/moon/exception.py
@@ -48,13 +48,6 @@ class TenantException(MoonError):
logger = "ERROR"
-class TenantDictEmpty(TenantException):
- message_format = _("The tenant dict mapping is empty, you must set the mapping first.")
- code = 400
- title = 'Tenant Dict Empty'
- logger = "WARNING"
-
-
class TenantUnknown(TenantException):
message_format = _("The tenant is unknown.")
code = 400