]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix the version file (don't import glance's git commit)
authorAngus Salkeld <asalkeld@redhat.com>
Wed, 18 Apr 2012 02:25:16 +0000 (12:25 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Wed, 18 Apr 2012 02:25:16 +0000 (12:25 +1000)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/version.py

index edbe8b9dba527486c789dc4c2b372cd31fb8f0a1..37fe89e69271ea30b9bf44b59cea0d94df1efbca 100644 (file)
 #    under the License.
 
 try:
-    from glance.vcsversion import version_info
+    from heat.vcsversion import version_info
 except ImportError:
     version_info = {'branch_nick': u'LOCALBRANCH',
                     'revision_id': 'LOCALREVISION',
                     'revno': 0}
 
-GLANCE_VERSION = ['0.0', '2']
-COUNT, REVISION = GLANCE_VERSION
+HEAT_VERSION = ['0.0', '2']
+COUNT, REVISION = HEAT_VERSION
 
 FINAL = False   # This becomes true at Release Candidate time
 
 
 def canonical_version_string():
-    return '.'.join(filter(None, GLANCE_VERSION))
+    return '.'.join(filter(None, HEAT_VERSION))
 
 
 def version_string():