2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-16 10:39:23 +00:00

Fix loop extending pkgs

The attempt at include support modified incorrect
list.
This commit is contained in:
Jarrod Johnson 2021-11-06 14:38:44 -04:00
parent f1bc82cd08
commit 766230bcd3

View File

@ -424,10 +424,10 @@ class OsHandler(object):
if not pkg:
continue
if pkg[0] == '<': # Include from specified file
pkgs.extend(self.list_packages(pkg[1:]))
retpkgs.extend(self.list_packages(pkg[1:]))
else:
pkgs.append(pkg)
return pkgs
retpkgs.append(pkg)
return retpkgs
class SuseHandler(OsHandler):
def __init__(self, name, version, arch, args):