include_vars: fix checking for a string in ignore_files

pull/45641/merge
Martin Krizek 6 years ago committed by Brian Coca
parent a1e2f1bf73
commit d383d87b22

@ -48,7 +48,7 @@ class ActionModule(ActionBase):
if not self.ignore_files:
self.ignore_files = list()
if isinstance(self.ignore_files, str):
if isinstance(self.ignore_files, string_types):
self.ignore_files = self.ignore_files.split()
elif isinstance(self.ignore_files, dict):

Loading…
Cancel
Save