Skip to content

Commit

Permalink
lowpkg: partially unify public functions signature
Browse files Browse the repository at this point in the history
In the same way that the previous commit for pkg, add **kwargs
into the public function signature for lowpkg virtual module, to
unify the different signatures.
  • Loading branch information
aplanas committed Apr 2, 2019
1 parent fbb8a29 commit c9473a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/modules/dpkg_lowpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def unpurge(*packages):
return salt.utils.data.compare_dicts(old, new)


def list_pkgs(*packages):
def list_pkgs(*packages, **kwargs):
'''
List the packages currently installed in a dict::
Expand Down Expand Up @@ -169,7 +169,7 @@ def list_pkgs(*packages):
return pkgs


def file_list(*packages):
def file_list(*packages, **kwargs):
'''
List the files that belong to a package. Not specifying any packages will
return a list of _every_ file on the system's package database (not
Expand Down Expand Up @@ -211,7 +211,7 @@ def file_list(*packages):
return {'errors': errors, 'files': list(ret)}


def file_dict(*packages):
def file_dict(*packages, **kwargs):
'''
List the files that belong to a package, grouped by package. Not
specifying any packages will return a list of _every_ file on the system's
Expand Down

0 comments on commit c9473a0

Please sign in to comment.