Skip to content

Commit

Permalink
Set epoch to 0 to properly define applicable errata
Browse files Browse the repository at this point in the history
  • Loading branch information
goosemania committed Jun 27, 2018
1 parent 2913587 commit dc6c5b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/pulp_rpm/plugins/profilers/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,4 +503,7 @@ def _create_nevra(r):
testing with real data.
"""
if 'epoch' not in r or r['epoch'] is None:
r['epoch'] = '0'

return tuple(str(r[k]) for k in ('name', 'epoch', 'version', 'release', 'arch'))

0 comments on commit dc6c5b0

Please sign in to comment.