Commit 37ccdb7a authored by Sebastien Gougeaud's avatar Sebastien Gougeaud Committed by Thomas Leibovici
Browse files

cli: remove printing if getmd request returns no result



Change-Id: Id3e3578858a23fab6ae5f488afe349712b324c36
Signed-off-by: default avatarSebastien Gougeaud <sebastien.gougeaud@cea.fr>
Reviewed-on: https://cws-fleury.labs.ocre.cea.fr/gerrit/6703


Reviewed-by: Linter
Tested-by: default avatarJenkins s8open_nr <s8open_nr@ccc.ocre.cea.fr>
Reviewed-by: default avatarPatrice LUCAS <patrice.lucas@cea.fr>
Reviewed-by: default avatarThomas Leibovici <thomas.leibovici@cea.fr>
parent 8271ed67
......@@ -230,10 +230,10 @@ class StoreGetMDHandler(XferOptHandler):
res = []
itm = attrs_as_dict(xfr.contents.xd_attrs)
if not itm:
print '<empty attribute set>'
else:
for k, v in sorted(itm.items()):
res.append('%s=%s' % (k, v))
return
for k, v in sorted(itm.items()):
res.append('%s=%s' % (k, v))
print ','.join(res)
......
Supports Markdown
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