Skip to content

Commit

Permalink
Don't reset the package localpath to temporary after download (RhBug:…
Browse files Browse the repository at this point in the history
…1757613)

The path is already changed from temporary to final earlier in the
function, as the file is renamed. The removed line seems superfluous and
out of place, the value in po.localpath should already be the correct
one.

https://bugzilla.redhat.com/show_bug.cgi?id=1757613
  • Loading branch information
Lukáš Hrázký authored and dmnks committed Jan 7, 2020
1 parent ea0f047 commit 3da1a10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion yum/__init__.py
Expand Up @@ -2583,7 +2583,6 @@ def checkfunc(obj, po=po):
result, errmsg = self.sigCheckPkg(po)
if result != 0:
self.verbose_logger.warn("%s", errmsg)
po.localpath = obj.filename
if po in errors:
del errors[po]

Expand Down

0 comments on commit 3da1a10

Please sign in to comment.