From 5223c17ff79cec95d7da701da7899808aca4338c Mon Sep 17 00:00:00 2001 From: armando-migliaccio Date: Thu, 22 Aug 2013 13:23:21 -0700 Subject: [PATCH] Fix script to build rpm required for L2 OVS agent for XenServer Use up to date way to retrieve the version info. Fixes bug #1215619 Change-Id: I7263fd61a8ea407626d2330f7546f4046e803b50 --- neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh b/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh index 5499c6036c..81b5f3b316 100755 --- a/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh +++ b/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh @@ -8,7 +8,7 @@ export PYTHONPATH=$NEUTRON_ROOT cd $NEUTRON_ROOT VERSION=$(sh -c "(cat $NEUTRON_ROOT/neutron/version.py; \ - echo 'print common_version.VersionInfo(\"neutron\").release_string()') | \ + echo 'print version_info.release_string()') | \ python") cd -