pylint + simplify path
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user