mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 17:31:07 +03:00
Add extra debug logging for move to/from archive
This commit is contained in:
parent
e410e7018e
commit
401649e036
1 changed files with 3 additions and 0 deletions
|
@ -1046,6 +1046,9 @@ def archive_old_apks(apps, apks, archapks, repodir, archivedir, defaultkeepversi
|
||||||
to_path = os.path.join(to_dir, filename)
|
to_path = os.path.join(to_dir, filename)
|
||||||
shutil.move(from_path, to_path)
|
shutil.move(from_path, to_path)
|
||||||
|
|
||||||
|
logging.debug("Checking archiving for {0} - apks:{1}, keepversions:{2}, archapks:{3}"
|
||||||
|
.format(appid, len(apks), keepversions, len(archapks)))
|
||||||
|
|
||||||
if len(apks) > keepversions:
|
if len(apks) > keepversions:
|
||||||
apklist = filter_apk_list_sorted(apks)
|
apklist = filter_apk_list_sorted(apks)
|
||||||
# Move back the ones we don't want.
|
# Move back the ones we don't want.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue