diff options
| author | Jan Cholasta <jcholast@redhat.com> | 2017-02-23 13:04:19 +0000 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2017-02-23 18:53:50 +0100 |
| commit | 19060db1b8fa9d1d3e8f3ac3fcd1f387e9a39c94 (patch) | |
| tree | a5f07d5110edc512152cf245545d6b1d3393c7cc /ipaclient/remote_plugins/2_164 | |
| parent | a39effed7603d66acd238e3142f4df8081ff7bc8 (diff) | |
| download | freeipa-19060db1b8fa9d1d3e8f3ac3fcd1f387e9a39c94.tar.gz freeipa-19060db1b8fa9d1d3e8f3ac3fcd1f387e9a39c94.tar.xz freeipa-19060db1b8fa9d1d3e8f3ac3fcd1f387e9a39c94.zip | |
compat: fix `Any` params in `batch` and `dnsrecord`
The `methods` argument of `batch` and `dnsrecords` attribute of `dnsrecord`
were incorrectly defined as `Str` instead of `Any`.
https://fedorahosted.org/freeipa/ticket/6647
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipaclient/remote_plugins/2_164')
| -rw-r--r-- | ipaclient/remote_plugins/2_164/batch.py | 2 | ||||
| -rw-r--r-- | ipaclient/remote_plugins/2_164/dns.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipaclient/remote_plugins/2_164/batch.py b/ipaclient/remote_plugins/2_164/batch.py index 4a613b677..2709e5907 100644 --- a/ipaclient/remote_plugins/2_164/batch.py +++ b/ipaclient/remote_plugins/2_164/batch.py @@ -50,7 +50,7 @@ class batch(Command): NO_CLI = True takes_args = ( - parameters.Str( + parameters.Any( 'methods', required=False, multivalue=True, diff --git a/ipaclient/remote_plugins/2_164/dns.py b/ipaclient/remote_plugins/2_164/dns.py index b07a94f19..244be87f3 100644 --- a/ipaclient/remote_plugins/2_164/dns.py +++ b/ipaclient/remote_plugins/2_164/dns.py @@ -326,7 +326,7 @@ class dnsrecord(Object): 'dnsclass', required=False, ), - parameters.Str( + parameters.Any( 'dnsrecords', required=False, label=_(u'Records'), |
