Log messages to help debug

svn: r16244
This commit is contained in:
Doug Blank 2010-12-03 22:06:39 +00:00
parent d59ad5e63f
commit 61312784e8

View File

@ -365,6 +365,9 @@ class ViewManager(CLIManager):
id = plugin_dict["i"]
plugin = self._pmgr.get_plugin(id)
if plugin:
LOG.debug("Comparing %s > %s" %
(version_str_to_tup(plugin_dict["v"], 3),
version_str_to_tup(plugin.version, 3)))
if (version_str_to_tup(plugin_dict["v"], 3) >
version_str_to_tup(plugin.version, 3)):
LOG.debug(" Downloading '%s'..." % plugin_dict["z"])