Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
2a614c1c
Commit
2a614c1c
authored
Sep 21, 2015
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close module file once we're done reading from it
parent
3f5ea43f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lib/ansible/executor/module_common.py
+1
-1
No files found.
lib/ansible/executor/module_common.py
View file @
2a614c1c
...
@@ -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
s
ll the work up to that point.
# that as the last step we could cache
a
ll the work up to that point.
with
open
(
module_path
)
as
f
:
with
open
(
module_path
)
as
f
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment