Enforce boolean type for dup_ok

Stop "choices" from being interpreted as strings.
reviewable/pr18780/r1
chrisweaver 8 years ago committed by GitHub
parent b3c606047d
commit 8879931f0c

@ -232,7 +232,7 @@ def main():
new_name=dict(default=None, required=False),
path=dict(default='/', required=False),
new_path=dict(default=None, required=False),
dup_ok=dict(default=False, required=False, choices=[False, True])
dup_ok=dict(default=False, required=False, choices=[False, True], type='bool')
)
)

Loading…
Cancel
Save