fix: python <3.10 compat

pull/923/head
Raphaël Vinot 2024-06-24 16:16:20 +02:00
parent 994f70adcf
commit 74e0f851b2
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class Archiver(AbstractManager):
# Make sure all the sub_index directories exist on the disk # Make sure all the sub_index directories exist on the disk
if old_subindexes := {sub_index for sub_index in current_sub_index if sub_index not in current_dirs}: if old_subindexes := {sub_index for sub_index in current_sub_index if sub_index not in current_dirs}:
self.logger.warning(f'Sub index {', '.join(old_subindexes)} do not exist, removing them from the index.') self.logger.warning(f'Sub index {", ".join(old_subindexes)} do not exist, removing them from the index.')
rewrite_index = True rewrite_index = True
current_sub_index -= old_subindexes current_sub_index -= old_subindexes