Skip to content

updateTitleDate.py - add try:except loop to address null values in source csv #6

@kgrons

Description

@kgrons

from @robertmhudson

Source CSV may include assets with no date, you could insert a try: except loop around the places that deal with the dates (maybe right as you’re parsing the csv?). I think it’s a value error, so that would be the except. That’ll just keep the script from breaking. As it is now, it will only complete if you feed it a csv with no null values in any of the date components.*

*removing null date value rows is the workaround til we figure out how to add in this try loop!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions