changeset 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 07390a9d1c09
files frontends/src/jp/cmd_roster.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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()