Change-Id: I6afb5259018f14238880fce2ce9d15f0cb8c543c
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
f = target.fetch()
return f
- def check_diff(self, snap_pkgs, pre_pkgs):
+ def check_diff(self, pre_pkgs, snap_pkgs):
logging.debug("Checking diff")
set_snap_pkgs = set(snap_pkgs.splitlines())
set_pre_pkgs = set(pre_pkgs.splitlines())
- diff = set_pre_pkgs - set_snap_pkgs
+ diff = set_pre_pkgs ^ set_snap_pkgs
with open(self.diff_report_filename, 'w') as f:
ret = (len(diff) == 0)
if ret: