From cf97ee0abe1790a1d0e767f834df5bcbc60accdb Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 3 Oct 2016 16:36:37 +0800 Subject: Arrange customs errors/exceptions in a module --- fg21sim/configs/manager.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'fg21sim/configs') diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py index e274609..81351ad 100644 --- a/fg21sim/configs/manager.py +++ b/fg21sim/configs/manager.py @@ -18,10 +18,7 @@ from functools import reduce from configobj import ConfigObj, ConfigObjError, flatten_errors from validate import Validator - -class ConfigError(Exception): - """Could not parse user configurations""" - pass +from ..errors import ConfigError CONFIGS_PATH = os.path.dirname(__file__) -- cgit v1.2.2