Move ConfigException to a separate file

This commit is contained in:
Rafa de la Torre
2016-10-03 12:20:17 +02:00
parent d85bc65bf8
commit 34ddd28e6b
3 changed files with 4 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
class ConfigException(Exception):
pass

View File

@@ -1,3 +1,5 @@
from cartodb_services.refactor.config.exceptions import ConfigException
class LoggerConfig(object):
"""This class is a value object needed to setup a Logger"""
@@ -24,9 +26,6 @@ class LoggerConfig(object):
def min_log_level(self):
return self._min_log_level
class ConfigException(Exception):
pass
# TODO this needs tests
# TODO FTM this is just config, maybe move around
class LoggerConfigBuilder(object):