mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #12552 from mgedmin/py3k
Python 3: there's no basestring
This commit is contained in:
commit
f42f5e6740
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class Task(Base, Conditional, Taggable, Become):
|
|||
def _merge_kv(self, ds):
|
||||
if ds is None:
|
||||
return ""
|
||||
elif isinstance(ds, basestring):
|
||||
elif isinstance(ds, string_types):
|
||||
return ds
|
||||
elif isinstance(ds, dict):
|
||||
buf = ""
|
||||
|
|
Loading…
Reference in a new issue