mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
pkgng: fix syntax for Python 2
Seems *args, **kwargs have to be the last two arguments in Python 2 syntax. CI sanity tests were failing.
This commit is contained in:
parent
4b10f5e1fb
commit
c34df85eac
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ def main():
|
|||
# in /usr/local/etc/pkg/repos
|
||||
repo_flag_not_supported = pkgng_older_than(module, pkgng_path, [1, 1, 4])
|
||||
|
||||
def run_pkgng(action, *args, pkgsite=None, **kwargs):
|
||||
def run_pkgng(action, pkgsite=None, *args, **kwargs):
|
||||
cmd = [pkgng_path, dir_arg, action]
|
||||
|
||||
pkgng_env = {'BATCH': 'yes'}
|
||||
|
|
Loading…
Reference in a new issue