059ebb72b0
During the pep8 run get the following warning generated: ./ironicclient/__init__.py WARNING: __all__ is defined as a list, this means pep257 cannot reliably detect contents of the __all__ variable, because it can be mutated. Change __all__ to be an (immutable) tuple, to remove this warning. Note, pep257 uses __all__ to detect which definitions are public, to warn if public definitions are missing docstrings. If __all__ is a (mutable) list, pep257 cannot reliably assume its contents. pep257 will proceed assuming __all__ is not mutated. Change-Id: I25a5d24e9c429bdd119abf9efb24e3cc822eef4a
29 lines
858 B
Python
29 lines
858 B
Python
# Copyright 2013 Hewlett-Packard Development Company, L.P.
|
|
# All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
import pbr.version
|
|
|
|
from ironicclient import client
|
|
from ironicclient import exc as exceptions
|
|
|
|
|
|
__version__ = pbr.version.VersionInfo('python-ironicclient').version_string()
|
|
|
|
__all__ = (
|
|
'client',
|
|
'exc',
|
|
'exceptions',
|
|
)
|