From: Mark Wooding Date: Mon, 25 May 2020 15:29:45 +0000 (+0100) Subject: svc/connect.in: Squash newlines to spaces in `info' output. X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/151e9bb8f89da9dcf731681e4d645cc94d1b6a3e svc/connect.in: Squash newlines to spaces in `info' output. Otherwise all sorts of things go horribly wrong. --- diff --git a/svc/connect.in b/svc/connect.in index 04713967..78da3252 100644 --- a/svc/connect.in +++ b/svc/connect.in @@ -756,7 +756,7 @@ def cmd_info(name): items = list(peer.list()) items.sort() for i in items: - T.svcinfo('%s=%s' % (i, peer.get(i))) + T.svcinfo('%s=%s' % (i, peer.get(i).replace('\n', ' '))) def cmd_userpeer(user): """