mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixed typo
This commit is contained in:
parent
4fbc5ddd06
commit
910da18bfd
1 changed files with 2 additions and 2 deletions
|
@ -297,10 +297,10 @@ def gen_thin(cachedir, extra_mods='', overwrite=False, so_mods='',
|
|||
tmpbackports = tempfile.mkdtemp(suffix='_backports_workaround', prefix='salt_')
|
||||
tmpbackports_symlink = os.path.join(tmpbackports, 'symlink')
|
||||
os.symlink('salt/ext', tmpbackports_symlink)
|
||||
tftp_deref_old = tfp.dereference
|
||||
tfp_deref_old = tfp.dereference
|
||||
tfp.dereference = False
|
||||
tfp.add(tmpbackports_symlink, arcname=os.path.join('py{0}'.format(py_ver), 'backports'))
|
||||
tfp.dereference = tftp_deref_old
|
||||
tfp.dereference = tfp_deref_old
|
||||
shutil.rmtree(tmpbackports)
|
||||
# workaround end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue