Move pkgrepo to fopen

This commit is contained in:
Mike Place 2015-08-11 16:05:24 -06:00
parent d4d7326101
commit c68a537309

View File

@ -302,7 +302,7 @@ def managed(name, **kwargs):
# empty file before configure
if kwargs.get('clean_file', False):
open(kwargs['file'], 'w').close()
salt.utils.fopen(kwargs['file'], 'w').close()
try:
if __grains__['os_family'] == 'Debian':