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:
parent
f1bc82cd08
commit
766230bcd3
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user