mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove dead code
This commit is contained in:
parent
302b5d3bc1
commit
d62abedbf7
1 changed files with 0 additions and 16 deletions
|
@ -1175,22 +1175,6 @@ def _get_first_aggregate_text(node_list):
|
|||
return '\n'.join(out)
|
||||
|
||||
|
||||
def _parse_suse_product(path, *info):
|
||||
'''
|
||||
Parse SUSE LLC product.
|
||||
'''
|
||||
doc = dom.parse(path)
|
||||
product = {}
|
||||
for nfo in info:
|
||||
product.update(
|
||||
{nfo: _get_first_aggregate_text(
|
||||
doc.getElementsByTagName(nfo)
|
||||
)}
|
||||
)
|
||||
|
||||
return product
|
||||
|
||||
|
||||
def list_products(all=False):
|
||||
'''
|
||||
List all available or installed SUSE products.
|
||||
|
|
Loading…
Add table
Reference in a new issue