Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

Commit

Permalink
graph: ignore scratch builds (which have no primary pullspecs)
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Waugh <twaugh@redhat.com>
  • Loading branch information
twaugh committed Oct 30, 2017
1 parent 604fd03 commit ed4c05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def add(self, build):
when = build['status']['startTimestamp']
duration = int(build['status']['duration']) / (10**9)
(upload_size, layer_size) = self._get_upload_size(build)
except KeyError:
except (KeyError, IndexError):
return

repos = set([strip_registry_from_image(repo)
Expand Down

0 comments on commit ed4c05e

Please sign in to comment.