samduy / provenance-analysis

Program Provenance Analysis
1 stars 1 forks source link

[Test-bug] Error when committed_date is empty #17

Closed samduy closed 7 years ago

samduy commented 7 years ago

[BUG: when running on Eurecom machine]

In some cases, when the returned committed date is empty, it caused an error:

Traceback (most recent call last):
  File "./report.py", line 64, in <module>
    latest_datetime = datetime.strptime(item['committed_date'], DATETIME_FORMAT_IN)
KeyError: 'committed_date'