Merge pull request #38305 from dereckson/fix-mode-extraneous-normalization

Avoid normalization call for normalized mode value
This commit is contained in:
Mike Place 2016-12-16 10:31:25 -07:00 committed by GitHub
commit 1e4f299e7d

View File

@ -509,7 +509,7 @@ def file(name,
Overrides the default backup mode for the user's crontab.
'''
# Initial set up
mode = salt.utils.normalize_mode('0600')
mode = '0600'
owner, group, crontab_dir = _get_cron_info()
cron_path = salt.utils.mkstemp()