rename tsstats.exceptions.InvalidConfig to InvalidConfiguration

because there's no seperation between config and cli-values
This commit is contained in:
Thor77 2016-05-25 20:14:59 +02:00
parent 7186cd662b
commit 752e4f4c82
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import logging
from os.path import abspath, exists
from tsstats.config import parse_config
from tsstats.exceptions import InvalidConfig
from tsstats.exceptions import InvalidConfiguration
from tsstats.log import parse_logs
from tsstats.template import render_template
@ -60,7 +60,7 @@ def main(config=None, idmap=None, log=None, output=None, debug=False):
identmap = None
if not log or not output:
raise InvalidConfig('log or output missing')
raise InvalidConfiguration('log or output missing')
clients = parse_logs(log, ident_map=identmap)
render_template(clients, output=abspath(output))

View File

@ -1,4 +1,4 @@
class InvalidConfig(Exception):
class InvalidConfiguration(Exception):
pass