Merge pull request #12552 from mgedmin/py3k

Python 3: there's no basestring
pull/12561/head
James Cammarata 9 years ago
commit f42f5e6740

@ -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…
Cancel
Save