Skip to content

[Bug] Error handling in govinfo.py line 73 #259

@leonliangsc

Description

@leonliangsc
for collection in sorted(options.get("bulkdata", "").split(",")):
     if collection != "":
           update_sitemap(BULKDATA_SITEMAPINDEX_PATTERN.format(collection=collection), None, [], options)

will render run time error when running the recommended script for downloading bulk bill text data
./run govinfo --collections=BILLS --congress=112 --store=pdf,mods,xml,text --bulkdata=False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions