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

.

parent 94c89bb6
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
# #
# See COPYING file for full licensing terms. # See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options. # 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> Usage: nxd-bom software <.installed.cfg>
bom node <slapos deploy-script> nxd-bom node <slapos deploy-script>
""" """
from __future__ import print_function from __future__ import print_function
...@@ -43,7 +43,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX ...@@ -43,7 +43,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX
if s == 'buildout': if s == 'buildout':
continue # [buildout] is used internally continue # [buildout] is used internally
print(s) #print(s)
part = inst[s] part = inst[s]
recipe = part['recipe'] recipe = part['recipe']
...@@ -107,7 +107,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX ...@@ -107,7 +107,7 @@ def bom_software(installed_cfg): # -> set of 'name-version' XXX
# XXX patches # XXX patches
print('(%s)\t%s-%s' % (s, name, ver)) print('%s\t%s' % (name, ver))
bom[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