]> arthur.barton.de Git - bup.git/commitdiff
join_bytes: pass the join() args correctly for py3
authorRob Browning <rlb@defaultvalue.org>
Sat, 30 Nov 2019 18:20:06 +0000 (12:20 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sat, 30 Nov 2019 22:13:35 +0000 (16:13 -0600)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/compat.py

index b795b652f916c46022a0e1a034b2d7be4cd2af0f..f713f52253e27e7f792e2ed4f15c0c21eae948c9 100644 (file)
@@ -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