From 2d942fa002f32dc8cb070a01eb79eccf924ce49d Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 15 Jun 2011 18:01:20 +0200 Subject: [PATCH] [entropy.server.mirrors] handle sync of the parsable rss file --- libraries/entropy/server/interfaces/db.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/entropy/server/interfaces/db.py b/libraries/entropy/server/interfaces/db.py index 291512819..88791b9df 100644 --- a/libraries/entropy/server/interfaces/db.py +++ b/libraries/entropy/server/interfaces/db.py @@ -507,6 +507,14 @@ class ServerPackagesRepositoryUpdater(object): if not download: critical.append(data['database_rss_light_file']) + database_rss_parsable_file = \ + self._entropy._get_local_repository_parsable_rss_file( + self._repository_id) + if os.path.isfile(database_rss_parsable_file) or download: + data['database_rss_parsable_file'] = database_rss_parsable_file + if not download: + critical.append(data['database_rss_parsable_file']) + pkglist_file = self._entropy._get_local_pkglist_file( self._repository_id) data['pkglist_file'] = pkglist_file