use 'ignore' in hash computation

This commit is contained in:
Tomas Kopecek 2018-03-14 11:17:43 +01:00 committed by Mike McLean
parent 71d5bdc02d
commit 72d619929e
2 changed files with 3 additions and 3 deletions

View file

@ -74,8 +74,8 @@ class Rpmdiff:
def __init__(self, old, new, ignore=None):
self.result = []
self.ignore = ignore
self.old_data = { 'tags': {} }
self.new_data = { 'tags': {} }
self.old_data = { 'tags': {}, 'ignore': ignore }
self.new_data = { 'tags': {}, 'ignore': ignore }
if self.ignore is None:
self.ignore = []