From b80cbb091062f8d3b9ae6963876b314a585a89fc Mon Sep 17 00:00:00 2001 From: dequis <dx@dxzone.com.ar> Date: Sun, 13 Aug 2023 12:57:03 +0200 Subject: [PATCH] bl00mbox/patches: fix broken repr of patches --- python_payload/bl00mbox/_patches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_payload/bl00mbox/_patches.py b/python_payload/bl00mbox/_patches.py index 97ea3bc248..be8affe4ba 100644 --- a/python_payload/bl00mbox/_patches.py +++ b/python_payload/bl00mbox/_patches.py @@ -30,9 +30,9 @@ class _PatchItemList: return iter(self._items) def __repr__(self): - rets = "" + ret = "" for x in self._items: - a = "\n" + repr(getattr(self, x)).split("]") + a = ("\n" + repr(getattr(self, x))).split("]") a[0] += ": " + x ret += "]".join(a) return ret -- GitLab