Merge "fix nova-baremetal-manage version printing"
This commit is contained in:
commit
35ba1f88df
@ -187,9 +187,7 @@ def main():
|
|||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
if CONF.category.name == "version":
|
if CONF.category.name == "version":
|
||||||
print(_("%(version)s (%(vcs)s)") %
|
print(version.version_string_with_package())
|
||||||
{'version': version.version_string(),
|
|
||||||
'vcs': version.version_string_with_vcs()})
|
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if CONF.category.name == "bash-completion":
|
if CONF.category.name == "bash-completion":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user