Skip to content

Commit bad6e89

Browse files
committed
flush() after download finishes
1 parent 71e0c28 commit bad6e89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/launchpad/sentry_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def download_artifact_to_file(self, org: str, project: str, artifact_id: str, ou
185185
out.truncate() # Clear any partial data from failed download
186186
file_size = 0
187187

188+
out.flush()
188189
return file_size
189190

190191
def update_artifact(self, org: str, project: str, artifact_id: str, data: Dict[str, Any]) -> UpdateResponse:

0 commit comments

Comments
 (0)