# HG changeset patch # User Arne Babenhauserheide # Date 1688933317 -7200 # Sun Jul 09 22:08:37 2023 +0200 # Branch py3 # Node ID 4faba984703fa32be08c97d782ea8f2d902d0398 # Parent 20a5bace7346d172164ca479b40a261262dd81e6 more str/bytes problems diff --git a/infocalypse/topkey.py b/infocalypse/topkey.py --- a/infocalypse/topkey.py +++ b/infocalypse/topkey.py @@ -231,8 +231,8 @@ text = b"incomplete head list" out_func(b"update[%i] (%s)\n" % (index, text)) out_func(b" length : %i\n" % update[0]) - out_func(b" parents: %s\n" % ' '.join([ver[:12] for ver in update[1]])) - out_func(b" heads : %s\n" % ' '.join([ver[:12] for ver in update[2]])) + out_func(b" parents: %s\n" % b' '.join([ver[:12] for ver in update[1]])) + out_func(b" heads : %s\n" % b' '.join([ver[:12] for ver in update[2]])) for index, chk in enumerate(update[3]): out_func(b" CHK[%i]:%s\n" % (index, chk)) out_func(b"binary rep sha1:\n0x00:%s\n0xff:%s\n" %