Commit 40c4ed81 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 94c89bb6
......@@ -18,10 +18,10 @@
#
# See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options.
"""Program bom generates bill of material for a software-release or slapos node
"""Program nxd-bom generates bill of material for a software-release or slapos node
Usage: bom software <.installed.cfg>
bom node <slapos deploy-script>
Usage: nxd-bom software <.installed.cfg>
nxd-bom node <slapos deploy-script>
"""
from __future__ import print_function
......@@ -43,7 +43,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX
if s == 'buildout':
continue # [buildout] is used internally
print(s)
#print(s)
part = inst[s]
recipe = part['recipe']
......@@ -107,7 +107,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX
# XXX patches
print('(%s)\t%s-%s' % (s, name, ver))
print('%s\t%s' % (name, ver))
bom[name] = ver
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment