From 21f4518152489f68485027411f64f19bebb23460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Wed, 16 Oct 2024 17:40:42 +0200 Subject: [PATCH] package-indexer: fix removing outdated nightly packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: László Várady --- packaging/package-indexer/indexer/deb_indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/package-indexer/indexer/deb_indexer.py b/packaging/package-indexer/indexer/deb_indexer.py index 5a563d5461..deb24367d9 100644 --- a/packaging/package-indexer/indexer/deb_indexer.py +++ b/packaging/package-indexer/indexer/deb_indexer.py @@ -274,7 +274,7 @@ def __get_pkg_timestamps_in_dir(self, dir: Path) -> List[str]: timestamp_regexp = re.compile(r"\+([^_]+)_") pkg_timestamps: List[str] = [] - for deb_file in dir.rglob("syslog-ng-core*.deb"): + for deb_file in dir.rglob("axosyslog-core*.deb"): pkg_timestamp = timestamp_regexp.findall(deb_file.name)[0] pkg_timestamps.append(pkg_timestamp) pkg_timestamps.sort()