Don't pass keyword args as positional, include file_name. Fixes #38190 (#38194)

pull/4420/head
Matt Martz 2018-04-03 09:59:13 -05:00 committed by GitHub
parent f666208b75
commit ddf937d642
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ class ActionModule(ActionBase):
data = to_text(b_data, errors='surrogate_or_strict')
self.show_content = show_content
data = self._loader.load(data, show_content)
data = self._loader.load(data, file_name=filename, show_content=show_content)
if not data:
data = dict()
if not isinstance(data, dict):