Commit 2a614c1c by Toshio Kuratomi

Close module file once we're done reading from it

parent 3f5ea43f
...@@ -156,7 +156,7 @@ def modify_module(module_path, module_args, task_vars=dict(), strip_comments=Fal ...@@ -156,7 +156,7 @@ def modify_module(module_path, module_args, task_vars=dict(), strip_comments=Fal
# minifier output) # minifier output)
# * Only split into lines and recombine into strings once # * Only split into lines and recombine into strings once
# * Cache the modified module? If only the args are different and we do # * Cache the modified module? If only the args are different and we do
# that as the last step we could cache sll the work up to that point. # that as the last step we could cache all the work up to that point.
with open(module_path) as f: with open(module_path) as f:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment