From 748e33bb8e3c7f78820bd7e2f7a874f95693c950 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Sat, 25 Feb 2012 20:37:24 +0000 Subject: move read_config to helper; ConfigError to errors this refactors settings.py to make it more modular: errors.py will contain all exception classes, read_config is moved to helper to reuse in elsewhere --- alot/errors.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 alot/errors.py (limited to 'alot/errors.py') diff --git a/alot/errors.py b/alot/errors.py new file mode 100644 index 00000000..5409d315 --- /dev/null +++ b/alot/errors.py @@ -0,0 +1,4 @@ + + +class ConfigError(Exception): + pass -- cgit v1.2.3