Get rid of all __all__
The "from <module> import *" is forbidden and private objects are prefixed with an underscore, so the `__all__` variable won't be necessary. Change-Id: If09af33adba2fc7019e439ec947dc191e03dcc3a
This commit is contained in:
parent
a89b4b126d
commit
c71ac192e4
@ -23,17 +23,6 @@ from cloudbaseinit.openstack.common import log as logging
|
||||
from cloudbaseinit.osutils import factory as osutils_factory
|
||||
|
||||
|
||||
__all__ = (
|
||||
'BaseCommand',
|
||||
'Shell',
|
||||
'Python',
|
||||
'Bash',
|
||||
'Powershell',
|
||||
'PowershellSysnative',
|
||||
'CommandExecutor',
|
||||
'EC2Config',
|
||||
)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
# used with ec2 config files (xmls)
|
||||
|
@ -17,11 +17,6 @@ import abc
|
||||
import six
|
||||
|
||||
|
||||
__all__ = (
|
||||
'BaseCloudConfigPlugin',
|
||||
)
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class BaseCloudConfigPlugin(object):
|
||||
"""Base plugin class for cloud-config plugins."""
|
||||
|
@ -33,14 +33,6 @@ from cloudbaseinit.openstack.common import log as logging
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
__all__ = (
|
||||
'create_tempfile',
|
||||
'create_tempdir',
|
||||
'LogSnatcher',
|
||||
'CloudbaseInitTestBase',
|
||||
'ConfPatcher',
|
||||
)
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def create_tempdir():
|
||||
|
Loading…
x
Reference in New Issue
Block a user