From de21fc2c760fd5891876e4b9fe26fec5406d9985 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Wed, 11 Oct 2017 00:05:30 -0500 Subject: [PATCH] client.rev_list: strip() returned commit Signed-off-by: Rob Browning Tested-by: Rob Browning --- lib/bup/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bup/client.py b/lib/bup/client.py index cca7d6a..7b786eb 100644 --- a/lib/bup/client.py +++ b/lib/bup/client.py @@ -427,7 +427,7 @@ class Client: raise ClientError('unexpected EOF') if not line.startswith('commit '): raise ClientError('unexpected line ' + repr(line)) - yield line[7:], parse(conn) + yield line[7:].strip(), parse(conn) # FIXME: confusing not_ok = self.check_ok() if not_ok: -- 2.39.2