diff --git a/jenkins_jobs/config.py b/jenkins_jobs/config.py index 60a36b820..3bd2e7ea0 100644 --- a/jenkins_jobs/config.py +++ b/jenkins_jobs/config.py @@ -22,6 +22,7 @@ import os from six.moves import configparser, StringIO from jenkins_jobs import builder +from jenkins_jobs.errors import JJBConfigException from jenkins_jobs.errors import JenkinsJobsException __all__ = [ @@ -49,10 +50,6 @@ send-as=Jenkins """ -class JJBConfigException(JenkinsJobsException): - pass - - class JJBConfig(object): def __init__(self, config_filename=None, config_file_required=False): diff --git a/jenkins_jobs/errors.py b/jenkins_jobs/errors.py index c9e044e4d..6a837ddb9 100644 --- a/jenkins_jobs/errors.py +++ b/jenkins_jobs/errors.py @@ -67,3 +67,7 @@ class MissingAttributeError(ModuleError): class YAMLFormatError(JenkinsJobsException): pass + + +class JJBConfigException(JenkinsJobsException): + pass