Be explicit about objects exported by modules.

Change-Id: Iaea087c6c3a024922034423a8d56571184f33b7c
This commit is contained in:
Wayne Warren 2016-01-03 20:55:30 -08:00
parent a4ee0a4d78
commit 8ffb11a4bf
4 changed files with 16 additions and 0 deletions

View File

@ -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__)

View File

@ -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__)

View File

@ -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__)

View File

@ -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