[entropy.server.mirrors] handle sync of the parsable rss file

This commit is contained in:
Fabio Erculiani
2011-06-15 18:01:20 +02:00
parent d874c929e4
commit 2d942fa002

View File

@@ -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