diff options
author | 2024-06-02 10:56:44 -0700 | |
---|---|---|
committer | 2024-06-02 11:05:35 -0700 | |
commit | eb855b8cd1248f49649003dcfb9bf009b70e88cb (patch) | |
tree | 44a9faf8e67aefa0384f79a0e70fb547fb1f73b3 | |
parent | MergeProcess: Pass bintree to subprocess (diff) | |
download | portage-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>
-rw-r--r-- | lib/portage/gpkg.py | 1 |
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 |