From 934e26ff7dd07c4a2b933a2a640ee12a2f9b0e4b Mon Sep 17 00:00:00 2001 From: T-Nicholls Date: Wed, 22 Aug 2018 17:07:51 +0100 Subject: [PATCH] Correct two files to be inline with pep8 standards. --- pytac/exceptions.py | 5 +++++ pytac/model.py | 1 + 2 files changed, 6 insertions(+) diff --git a/pytac/exceptions.py b/pytac/exceptions.py index 9e5dccd1..60f67e8b 100644 --- a/pytac/exceptions.py +++ b/pytac/exceptions.py @@ -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 diff --git a/pytac/model.py b/pytac/model.py index 5839720e..475f433e 100644 --- a/pytac/model.py +++ b/pytac/model.py @@ -2,6 +2,7 @@ import pytac from pytac.exceptions import FieldException + class Model(object): """Abstract base classes for element models.