Skip to content

Commit

Permalink
Merge "Fix Typo when retrieving package version"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Apr 28, 2015
2 parents 7000b55 + 34d9116 commit 5bccb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrail_provisioning/openstack/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def get_openstack_dashboard_version(self):
"""
pkg_name = "openstack-dashboard"
with settings(warn_only=True):
dashboard_version = local("rpm -q --queryformat \"%{VERSION}\" %s" % pkg_name, capture=True)
dashboard_version = local("rpm -q --queryformat \"%%{VERSION}\" %s" % pkg_name, capture=True)
return dashboard_version if dashboard_version.succeeded else None

def is_dashboard_juno_or_above(self, actual_dashboard_version):
Expand Down

0 comments on commit 5bccb07

Please sign in to comment.