Skip to content

Commit 3da1a10

Browse files
Lukáš Hrázkýdmnks
Lukáš Hrázký
authored andcommitted
Don't reset the package localpath to temporary after download (RhBug: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
1 parent ea0f047 commit 3da1a10

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

yum/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2583,7 +2583,6 @@ def checkfunc(obj, po=po):
25832583
result, errmsg = self.sigCheckPkg(po)
25842584
if result != 0:
25852585
self.verbose_logger.warn("%s", errmsg)
2586-
po.localpath = obj.filename
25872586
if po in errors:
25882587
del errors[po]
25892588

0 commit comments

Comments
 (0)