Mercurial > libervia-backend
diff frontends/src/jp/cmd_roster.py @ 1800:5f4d688d8b6e
jp (roster): change groups delimiter for "roster get" output, from "|" to "\t"
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 13 Jan 2016 22:10:06 +0100 |
parents | f1f4775f8cc0 |
children | 96ba685162f6 |
line wrap: on
line diff
--- a/frontends/src/jp/cmd_roster.py Wed Jan 13 20:51:42 2016 +0100 +++ b/frontends/src/jp/cmd_roster.py Wed Jan 13 22:10:06 2016 +0100 @@ -197,8 +197,7 @@ 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()