Commit e8e4198d authored by augustin_s's avatar augustin_s 🐍
Browse files

moved AdjustableError to won file

parent b7a4ab18
from .adjustable import Adjustable, AdjustableError
from .adjustable import Adjustable
from .error import AdjustableError
from .dummyadjustable import DummyAdjustable
from .genericadjustable import GenericAdjustable
from .pvadjustable import PVAdjustable
......
from slic.utils import typename
from slic.core.task import TaskProducer
from .baseadjustable import BaseAdjustable
from .error import AdjustableError
from .convenience import SpecConvenience
......@@ -61,8 +62,3 @@ class Adjustable(BaseAdjustable, TaskProducer, SpecConvenience):
class AdjustableError(Exception):
pass
class AdjustableError(Exception):
pass
......@@ -4,7 +4,8 @@ from types import SimpleNamespace
from slic.utils import typename
from slic.utils.hastyepics import get_pv as PV
from .adjustable import Adjustable, AdjustableError
from .adjustable import Adjustable
from .error import AdjustableError
from .pvchangemon import PVChangeMonitor
......
......@@ -3,7 +3,7 @@ from time import sleep
from slic.utils import typename
from slic.utils.hastyepics import get_pv as PV
from .adjustable import AdjustableError
from .error import AdjustableError
class PVChangeMonitor:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment