Handle typing of vars_files in Play.get_vars_files. Fixes #14708 (#41801)

pull/41859/head
Matt Martz 6 years ago committed by GitHub
parent dd932c9ace
commit e9a5c53512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -286,6 +286,8 @@ class Play(Base, Taggable, Become):
def get_vars_files(self):
if self.vars_files is None:
return []
elif not isinstance(self.vars_files, list):
return [self.vars_files]
return self.vars_files
def get_handlers(self):

Loading…
Cancel
Save