From: Tobias Brunner Date: Thu, 23 Jan 2020 09:35:23 +0000 (+0100) Subject: vici: Options are optional in get_pools() of Python bindings X-Git-Tag: 5.8.3dr1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f78dfb7e28935a7f07802a70a0e93d3d17264840;p=thirdparty%2Fstrongswan.git vici: Options are optional in get_pools() of Python bindings Fixes #3319. --- diff --git a/src/libcharon/plugins/vici/python/vici/command_wrappers.py b/src/libcharon/plugins/vici/python/vici/command_wrappers.py index a2e8fa932f..6b9e30c355 100644 --- a/src/libcharon/plugins/vici/python/vici/command_wrappers.py +++ b/src/libcharon/plugins/vici/python/vici/command_wrappers.py @@ -310,7 +310,7 @@ class CommandWrappers(object): """ self.request("unload-pool", pool_name) - def get_pools(self, options): + def get_pools(self, options=None): """Retrieve loaded pools. :param options: filter by name and/or retrieve leases (optional)