mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix TravisCI failure on python 2.4
This commit is contained in:
parent
16cc3423a5
commit
35d4b3530b
1 changed files with 4 additions and 1 deletions
|
@ -209,7 +209,10 @@ class OSXDefaults(object):
|
|||
|
||||
# We need to convert some values so the defaults commandline understands it
|
||||
if type(self.value) is bool:
|
||||
value = "TRUE" if self.value else "FALSE"
|
||||
if self.value:
|
||||
value = "TRUE"
|
||||
else:
|
||||
value = "FALSE"
|
||||
elif type(self.value) is int or type(self.value) is float:
|
||||
value = str(self.value)
|
||||
elif self.array_add and self.current_value is not None:
|
||||
|
|
Loading…
Reference in a new issue