pylint + simplify path

This commit is contained in:
2021-01-18 17:46:21 +01:00
parent 0aba66b8b5
commit 0d87be9d7b
24 changed files with 469 additions and 299 deletions

View File

@ -1,14 +1,18 @@
# -*- coding: utf-8 -*-
"""Standard error classes
"""
class ConfigError(Exception):
pass
"""Standard error for templating
"""
class FileNotFound(ConfigError):
pass
"""Template file is not found
"""
class TemplateError(ConfigError):
pass
"""Templating generate an error
"""
class TemplateDisabled(TemplateError):
@ -29,7 +33,3 @@ class DictConsistencyError(Exception):
def __init__(self, msg, errno):
super().__init__(msg)
self.errno = errno
class LoaderError(Exception):
pass