Be explicit about objects exported by modules.
Change-Id: Iaea087c6c3a024922034423a8d56571184f33b7c
This commit is contained in:
parent
a4ee0a4d78
commit
8ffb11a4bf
@ -34,6 +34,9 @@ from jenkins_jobs.constants import MAGIC_MANAGE_STRING
|
||||
from jenkins_jobs.parallel import concurrent
|
||||
from jenkins_jobs import utils
|
||||
|
||||
__all__ = [
|
||||
"Jenkins"
|
||||
]
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
@ -28,6 +28,10 @@ from jenkins_jobs.formatter import deep_format
|
||||
import jenkins_jobs.local_yaml as local_yaml
|
||||
from jenkins_jobs import utils
|
||||
|
||||
__all__ = [
|
||||
"YamlParser"
|
||||
]
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@ -24,6 +24,10 @@ import types
|
||||
from jenkins_jobs.errors import JenkinsJobsException
|
||||
from jenkins_jobs.formatter import deep_format
|
||||
|
||||
__all__ = [
|
||||
"ModuleRegistry"
|
||||
]
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@ -20,6 +20,11 @@ import pkg_resources
|
||||
from xml.dom import minidom
|
||||
import xml.etree.ElementTree as XML
|
||||
|
||||
__all__ = [
|
||||
"XmlJobGenerator",
|
||||
"XmlJob"
|
||||
]
|
||||
|
||||
|
||||
def remove_ignorable_whitespace(node):
|
||||
"""Remove insignificant whitespace from XML nodes
|
||||
|
Loading…
Reference in New Issue
Block a user