summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2017-02-23 13:04:19 +0000
committerMartin Basti <mbasti@redhat.com>2017-02-23 18:53:50 +0100
commit19060db1b8fa9d1d3e8f3ac3fcd1f387e9a39c94 (patch)
treea5f07d5110edc512152cf245545d6b1d3393c7cc
parenta39effed7603d66acd238e3142f4df8081ff7bc8 (diff)
downloadfreeipa-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>
-rw-r--r--ipaclient/remote_plugins/2_114/batch.py2
-rw-r--r--ipaclient/remote_plugins/2_114/dns.py2
-rw-r--r--ipaclient/remote_plugins/2_156/batch.py2
-rw-r--r--ipaclient/remote_plugins/2_156/dns.py2
-rw-r--r--ipaclient/remote_plugins/2_164/batch.py2
-rw-r--r--ipaclient/remote_plugins/2_164/dns.py2
-rw-r--r--ipaclient/remote_plugins/2_49/batch.py2
-rw-r--r--ipaclient/remote_plugins/2_49/dns.py2
8 files changed, 8 insertions, 8 deletions
diff --git a/ipaclient/remote_plugins/2_114/batch.py b/ipaclient/remote_plugins/2_114/batch.py
index 4a613b677..2709e5907 100644
--- a/ipaclient/remote_plugins/2_114/batch.py
+++ b/ipaclient/remote_plugins/2_114/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_114/dns.py b/ipaclient/remote_plugins/2_114/dns.py
index 5d91dbcb3..acb8a6582 100644
--- a/ipaclient/remote_plugins/2_114/dns.py
+++ b/ipaclient/remote_plugins/2_114/dns.py
@@ -326,7 +326,7 @@ class dnsrecord(Object):
'dnsclass',
required=False,
),
- parameters.Str(
+ parameters.Any(
'dnsrecords',
required=False,
label=_(u'Records'),
diff --git a/ipaclient/remote_plugins/2_156/batch.py b/ipaclient/remote_plugins/2_156/batch.py
index 4a613b677..2709e5907 100644
--- a/ipaclient/remote_plugins/2_156/batch.py
+++ b/ipaclient/remote_plugins/2_156/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_156/dns.py b/ipaclient/remote_plugins/2_156/dns.py
index 39a0b2695..bbfaa9fd0 100644
--- a/ipaclient/remote_plugins/2_156/dns.py
+++ b/ipaclient/remote_plugins/2_156/dns.py
@@ -326,7 +326,7 @@ class dnsrecord(Object):
'dnsclass',
required=False,
),
- parameters.Str(
+ parameters.Any(
'dnsrecords',
required=False,
label=_(u'Records'),
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'),
diff --git a/ipaclient/remote_plugins/2_49/batch.py b/ipaclient/remote_plugins/2_49/batch.py
index a1f351d33..67e5978e6 100644
--- a/ipaclient/remote_plugins/2_49/batch.py
+++ b/ipaclient/remote_plugins/2_49/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_49/dns.py b/ipaclient/remote_plugins/2_49/dns.py
index 07cef75c2..4b543a2c2 100644
--- a/ipaclient/remote_plugins/2_49/dns.py
+++ b/ipaclient/remote_plugins/2_49/dns.py
@@ -256,7 +256,7 @@ class dnsrecord(Object):
label=_(u'Class'),
doc=_(u'DNS class'),
),
- parameters.Str(
+ parameters.Any(
'dnsrecords',
required=False,
label=_(u'Records'),