Commit 84460902 authored by Flavio TARSETTI's avatar Flavio TARSETTI
Browse files

[common] remove TYPE_PLURAL[type] from local/remote display - removes the typename

parent f64a61bb
Pipeline #20235 passed with stages
in 27 minutes and 46 seconds
......@@ -351,7 +351,7 @@ def display_remote_list(webapi, type):
if l is None: return 1
for o in l:
logger.info('%s/%s', TYPE_PLURAL[type], o['name'])
logger.info('%s', o['name'])
if o['short_description']: logger.extra(2*' ' + o['short_description'])
if len(l) != 1:
......@@ -447,7 +447,7 @@ def display_local_list(prefix, type):
names = make_up_local_list(prefix, type, [])
for name in names:
logger.info("%s/%s", TYPE_PLURAL[type], name)
logger.info("%s", name)
try:
storage = TYPE_STORAGE[type](prefix, name)
contents = simplejson.loads(storage.json.load(), object_pairs_hook=collections.OrderedDict)
......
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