jp (roster): change groups delimiter for "roster get" output, from "|" to "\t"
This commit is contained in:
parent
8471941dc7
commit
e3144d93c2
1 changed files with 1 additions and 2 deletions
|
|
@ -197,8 +197,7 @@ class Get(base.CommandBase):
|
|||
if self.args.name:
|
||||
args.append(unicode(attrs.get("name", "")))
|
||||
if self.args.groups:
|
||||
# FIXME: pipe character could also be in a group name
|
||||
args.append(u"|".join(groups) if groups else "")
|
||||
args.append(u"\t".join(groups) if groups else "")
|
||||
print u";".join(["{}"] * field_count).format(*args).encode("utf-8")
|
||||
self.host.quit()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue