From 481d6ff142b8daeb08b22001997b5cf701a6d134 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 17 Dec 2012 12:17:59 +0000 Subject: Remove obsolete VCS version info completely The VCS version string in nova/version.py has been hardcoded to 'LOCALBRANCH:LOCALVERSION' since change 0bbb0e8cb1daa351af91cf97b2bcababfc0c7f9f The only places which use this info are some logging calls, and since 'nova-manager version' command. The latter would more usefully output the distro specific package string. Delete the VCS related methods in version.py and replace their usage with a new method version_string_with_package() which appends the distro-specific package tag Change-Id: I972b79c329198cb5376d537c6b672830094cd759 Signed-off-by: Daniel P. Berrange --- nova/vnc/xvp_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/vnc') diff --git a/nova/vnc/xvp_proxy.py b/nova/vnc/xvp_proxy.py index 59b80994b..9489b949a 100644 --- a/nova/vnc/xvp_proxy.py +++ b/nova/vnc/xvp_proxy.py @@ -174,7 +174,7 @@ class SafeHttpProtocol(eventlet.wsgi.HttpProtocol): def get_wsgi_server(): LOG.audit(_("Starting nova-xvpvncproxy node (version %s)"), - version.version_string_with_vcs()) + version.version_string_with_package()) return wsgi.Server("XCP VNC Proxy", XCPVNCProxy(), -- cgit