mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Removed unnecessary import
This commit is contained in:
parent
c12a04b75e
commit
ead0cd39bf
@ -548,7 +548,6 @@ def load_config(path, env_var, default_path=None):
|
|||||||
if not os.path.isfile(path):
|
if not os.path.isfile(path):
|
||||||
template = '{0}.template'.format(path)
|
template = '{0}.template'.format(path)
|
||||||
if os.path.isfile(template):
|
if os.path.isfile(template):
|
||||||
import salt.utils # TODO: Need to re-import, need to find out why
|
|
||||||
log.debug('Writing {0} based on {1}'.format(path, template))
|
log.debug('Writing {0} based on {1}'.format(path, template))
|
||||||
with salt.utils.fopen(path, 'w') as out:
|
with salt.utils.fopen(path, 'w') as out:
|
||||||
with salt.utils.fopen(template, 'r') as ifile:
|
with salt.utils.fopen(template, 'r') as ifile:
|
||||||
|
Loading…
Reference in New Issue
Block a user