From: Rob Browning Date: Sat, 30 Nov 2019 18:20:06 +0000 (-0600) Subject: join_bytes: pass the join() args correctly for py3 X-Git-Tag: 0.31~253 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=1353177a1b256427ee513e654b83d9b60462b20d join_bytes: pass the join() args correctly for py3 Signed-off-by: Rob Browning --- diff --git a/lib/bup/compat.py b/lib/bup/compat.py index b795b65..f713f52 100644 --- a/lib/bup/compat.py +++ b/lib/bup/compat.py @@ -42,7 +42,7 @@ if py3: def join_bytes(*items): """Return the concatenated bytes or memoryview arguments as bytes.""" - return b''.join(*items) + return b''.join(items) else: # Python 2