Skip to content

Commit 7fcb3f0

Browse files
authored
Merge pull request #58 from astropy/learn_site_fix3
Test learn-astropy build
2 parents c20a6dd + cfb11a6 commit 7fcb3f0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

astropylibrarian/workflows/expirerecords.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ async def expire_old_records(
3838
old_object_ids: List[str] = []
3939
for r in await algolia_index.browse_objects(obj):
4040
# Double check that we're deleting the right things.
41-
if r["root_url"] != root_url:
42-
logger.warning("root_url does not match: %s", r["root_url"])
43-
continue
44-
if r["index_epoch"] == index_epoch:
45-
logger.warning("index_epoch matches current epoch: %s", r["index_epoch"])
46-
continue
41+
# if r["root_url"] != root_url:
42+
# logger.warning("root_url does not match: %s", r["root_url"])
43+
# continue
44+
# if r["index_epoch"] == index_epoch:
45+
# logger.warning("index_epoch matches current epoch: %s", r["index_epoch"])
46+
# continue
4747
old_object_ids.append(r["objectID"])
4848

4949
logger.info(

0 commit comments

Comments
 (0)