Commit d6172e6c authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

models: Fix revision date for older series

Old series do not have a completion date for series which breaks posting
results:

  File "patchwork/models.py" in _on_test_result
    1083.                   'revision_completed': revision.completed.isoformat()}

  Exception Type: AttributeError at /api/1.0/series/71839/revisions/1/test-results/
  Exception Value: 'NoneType' object has no attribute 'isoformat'

Let's just admit that it's unknown.
Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 5571d43e
Pipeline #96435 passed with stage
in 1 minute and 22 seconds