commit: 73485bfe1aefa283e6d22d45c429b870d6708b10 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Sun Sep 14 09:21:04 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Sep 14 09:33:02 2025 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=73485bfe
bintree: Fix bug retrieving the Last-Modified header due typo Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> Part-of: https://github.com/gentoo/portage/pull/1466 Signed-off-by: Sam James <sam <AT> gentoo.org> lib/portage/dbapi/bintree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portage/dbapi/bintree.py b/lib/portage/dbapi/bintree.py index 9d0178bd7e..2fdb08d44b 100644 --- a/lib/portage/dbapi/bintree.py +++ b/lib/portage/dbapi/bintree.py @@ -1469,7 +1469,7 @@ class binarytree: if f.headers.get("timestamp", ""): remote_timestamp = f.headers.get("timestamp") elif f.headers.get("Last-Modified", ""): - last_modified = err.headers.get("Last-Modified") + last_modified = f.headers.get("Last-Modified") remote_timestamp = http_to_timestamp( last_modified )
