This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 4efbbd1543 forgejo/inject-pr-samples: properly flush and close 
injected sample before hashing
4efbbd1543 is described below

commit 4efbbd15438413bc2224f15edc4cbb080cd25896
Author:     Timo Rothenpieler <[email protected]>
AuthorDate: Mon Aug 31 19:17:47 2026 +0200
Commit:     Timo Rothenpieler <[email protected]>
CommitDate: Mon Aug 31 18:09:20 2026 +0000

    forgejo/inject-pr-samples: properly flush and close injected sample before 
hashing
---
 .forgejo/inject-pr-samples.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.forgejo/inject-pr-samples.py b/.forgejo/inject-pr-samples.py
index 3f50067751..0c328279e0 100755
--- a/.forgejo/inject-pr-samples.py
+++ b/.forgejo/inject-pr-samples.py
@@ -109,6 +109,7 @@ def download(url, dst):
             with urllib.request.urlopen(url) as r:
                 while chunk := r.read(1 << 16):
                     tmp.write(chunk)
+            tmp.close()
             if dst.exists() and digest(dst) != digest(tmp_path):
                 raise ValueError(f"already exists with different content: 
{dst}")
             tmp_path.rename(dst)

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to