aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-06-02 10:56:44 -0700
committerZac Medico <zmedico@gentoo.org>2024-06-02 11:05:35 -0700
commiteb855b8cd1248f49649003dcfb9bf009b70e88cb (patch)
tree44a9faf8e67aefa0384f79a0e70fb547fb1f73b3 /lib
parentMergeProcess: Pass bintree to subprocess (diff)
downloadportage-eb855b8cd1248f49649003dcfb9bf009b70e88cb.tar.gz
portage-eb855b8cd1248f49649003dcfb9bf009b70e88cb.tar.bz2
portage-eb855b8cd1248f49649003dcfb9bf009b70e88cb.zip
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 <zmedico@gentoo.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/portage/gpkg.py1
1 files changed, 1 insertions, 0 deletions
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