Expose VersionInfo from oslo.version package

Having to do:

  from oslo.version import version

kinda sucks.

Change-Id: Ia42858e6dda0dc4407728cf44cf06fbafb8c5824
This commit is contained in:
Mark McLoughlin 2013-08-08 23:16:47 +01:00
parent 4dcf91c721
commit 5bee3dd3e5
2 changed files with 7 additions and 0 deletions

View File

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

View File

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