Skip to content

Commit

Permalink
test: ... it completed the sitemap... is it the next one??
Browse files Browse the repository at this point in the history
  • Loading branch information
nickumia-reisys committed Jul 27, 2023
1 parent b226205 commit 46a8cc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ckanext/geodatagov/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,15 @@ def sitemap_to_s3(upload_to_s3: bool, page_size: int, max_per_page: int):
)

for file_num in range(14, 38):
log.info('a')
sitemap = SitemapData(str(file_num), start, page_size)
log.info('b')
sitemap.write_sitemap_header()
log.info('c')
sitemap.write_pkgs(package_query)
log.info('d')
sitemap.write_sitemap_footer()
log.info('e')

log.info(
f"{start+1} to {min(start + page_size, count)} of {count} records done."
Expand Down

0 comments on commit 46a8cc4

Please sign in to comment.