Skip to content

Commit

Permalink
Correct two files to be inline with pep8 standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Nicholls committed Aug 22, 2018
1 parent 978e6c0 commit 934e26f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pytac/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
"""Module containing all the exceptions used in pytac."""


class FieldException(Exception):
"""Exception associated with invalid field requests.
"""
pass


class HandleException(Exception):
"""Exception associated with requests with invalid handles.
"""
pass


class DeviceException(Exception):
"""Exception associated with Device misconfiguration or invalid requests.
"""
pass


class UnitsException(Exception):
"""Conversion not understood
"""
pass


class LatticeException(Exception):
pass
1 change: 1 addition & 0 deletions pytac/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import pytac
from pytac.exceptions import FieldException


class Model(object):
"""Abstract base classes for element models.
Expand Down

0 comments on commit 934e26f

Please sign in to comment.