include_vars: fix checking for a string in ignore_files

This commit is contained in:
Martin Krizek 2018-09-07 09:46:15 +02:00 committed by Brian Coca
parent a1e2f1bf73
commit d383d87b22

View file

@ -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):