.nativedb: ignore an `expired/` subdir

account_tests
Tyler Goodlet 2023-07-10 09:40:37 -04:00
parent 8f40e522ef
commit c9681d0aa2
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ class NativeStorageClient:
def index_files(self): def index_files(self):
for path in self._datadir.iterdir(): for path in self._datadir.iterdir():
if 'borked' in path.name: if path.name in {'borked', 'expired',}:
continue continue
key: str = path.name.rstrip('.parquet') key: str = path.name.rstrip('.parquet')