Skip to content

Commit

Permalink
tar_stream_writer: Add missing error attribute
Browse files Browse the repository at this point in the history
This attribute was previously initialized only
in an exception handler.

Fixes: b8c3f38 ("Add more error handling for binpkgs")
Bug: https://bugs.gentoo.org/933385
Signed-off-by: Zac Medico <[email protected]>
  • Loading branch information
zmedico committed Jun 2, 2024
1 parent 1a7fc63 commit eb855b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/portage/gpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def __init__(
self.closed = False
self.container = container
self.killed = False
self.error = False
self.tar_format = tar_format
self.tarinfo = tarinfo
self.uid = uid
Expand Down

0 comments on commit eb855b8

Please sign in to comment.