Expose VersionInfo from oslo.version package
Having to do: from oslo.version import version kinda sucks. Change-Id: Ia42858e6dda0dc4407728cf44cf06fbafb8c5824
This commit is contained in:
parent
4dcf91c721
commit
5bee3dd3e5
|
@ -13,3 +13,8 @@
|
|||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo.version import version
|
||||
|
||||
|
||||
VersionInfo = version.VersionInfo
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
__all__ = ['VersionInfo']
|
||||
|
||||
"""
|
||||
Utilities for consuming the version from pkg_resources.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue