Skip to content

Commit

Permalink
Use two lines between class definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed Feb 2, 2016
1 parent 1c09515 commit 7b29630
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tzupdate.py
Expand Up @@ -169,21 +169,25 @@ class TimezoneNotLocallyAvailableError(TimezoneUpdateException):
Raised when the API returned a timezone, but we don't have it locally.
'''


class NoTimezoneAvailableError(TimezoneUpdateException):
'''
Raised when the API did not return a timezone.
'''


class DirectoryTraversalError(TimezoneUpdateException):
'''
Raised when the timezone path returned by the API would result in directory
traversal when concatenated with the zoneinfo path.
'''


class IPAPIError(TimezoneUpdateException):
'''
Raised when IP-API raises an internal error.
'''


if __name__ == '__main__':
main()

0 comments on commit 7b29630

Please sign in to comment.