[entropy.server] create_repository_pkglist creates a file containing full "download" paths

This commit is contained in:
Fabio Erculiani
2009-06-16 12:26:00 +02:00
parent e650459a40
commit eac698c32e
+1 -1
View File
@@ -2526,7 +2526,7 @@ class Server(Singleton, TextInterface):
tmp_pkglist_file = pkglist_file + ".tmp"
dbconn = self.open_server_repository(repo = repo, just_reading = True,
do_treeupdates = False)
pkglist = dbconn.listAllDownloads(do_sort = True)
pkglist = dbconn.listAllDownloads(do_sort = True, full_path = True)
with open(tmp_pkglist_file, "w") as pkg_f:
for pkg in pkglist: