From eb855b8cd1248f49649003dcfb9bf009b70e88cb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Jun 2024 10:56:44 -0700 Subject: tar_stream_writer: Add missing error attribute This attribute was previously initialized only in an exception handler. Fixes: b8c3f38ec5ee ("Add more error handling for binpkgs") Bug: https://bugs.gentoo.org/933385 Signed-off-by: Zac Medico --- lib/portage/gpkg.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/portage/gpkg.py b/lib/portage/gpkg.py index fc4d7b1fb..9606f6d3c 100644 --- a/lib/portage/gpkg.py +++ b/lib/portage/gpkg.py @@ -100,6 +100,7 @@ class tar_stream_writer: self.closed = False self.container = container self.killed = False + self.error = False self.tar_format = tar_format self.tarinfo = tarinfo self.uid = uid -- cgit v1.2.3-65-gdbad