mirror of
https://github.com/openSUSE/osc.git
synced 2026-07-13 08:35:23 +02:00
Run decode_it also in the other case
This commit is contained in:
+2
-2
@@ -162,8 +162,8 @@ class Fetcher:
|
||||
|
||||
def move_package(self, tmpfile, destdir, pac_obj=None):
|
||||
canonname = None
|
||||
if pac_obj and (pac_obj.name.startswith('container:') or pac_obj.binary == 'updateinfo.xml' or pac_obj.binary == '_modulemd.yaml'):
|
||||
canonname = pac_obj.canonname
|
||||
if pac_obj and (pac_obj.name.startswith('container:') or pac_obj.binary in ('updateinfo.xml', '_modulemd.yaml')):
|
||||
canonname = decode_it(pac_obj.canonname)
|
||||
if canonname is None:
|
||||
pkgq = packagequery.PackageQuery.query(tmpfile, extra_rpmtags=(1044, 1051, 1052))
|
||||
if pkgq:
|
||||
|
||||
Reference in New Issue
Block a user