Skip to content

Commit

Permalink
Fix for saltstack#10656: __env__ should be passed around instead of env
Browse files Browse the repository at this point in the history
  • Loading branch information
Onur Yalazi committed Mar 11, 2014
1 parent 35c7c52 commit 6c370c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/states/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def file(name,
# If the source is a list then find which file exists
source, source_hash = __salt__['file.source_list'](source,
source_hash,
env)
__env__)

# Gather the source file from the server
try:
Expand All @@ -476,7 +476,7 @@ def file(name,
owner,
group,
mode,
env,
__env__,
context,
defaults,
**kwargs
Expand All @@ -503,7 +503,7 @@ def file(name,
owner,
group,
mode,
env,
__env__,
backup
)
except Exception as exc:
Expand Down

0 comments on commit 6c370c3

Please sign in to comment.