Skip to content

Commit

Permalink
Removed pass form exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lk-geimfari committed Jan 30, 2017
1 parent ba96750 commit 42e2d71
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions elizabeth/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
class UnsupportedLocale(KeyError):
"""
An exception that raised when a locale doesn't
supported.
"""
pass
"""An exception that raised when a locale doesn't supported."""


class JSONKeyError(KeyError):
"""
An exception that raised when JSON key doesn't exist
"""
pass
"""An exception that raised when JSON key doesn't exist"""


class NotImplementedYet(NotImplementedError):
"""
An exception that raised when NotImplementedError
"""
pass
"""An exception that raised when NotImplementedError"""

0 comments on commit 42e2d71

Please sign in to comment.