mirror of https://github.com/openspug/spug
F 修复自定义发布某些情况下一直显示等待调度的问题
parent
c4df010cdd
commit
9b4011cb2b
|
@ -128,7 +128,7 @@ def _ext2_deploy(req, helper, env):
|
|||
|
||||
for action in host_actions:
|
||||
if action.get('type') == 'transfer':
|
||||
action['src'] = render_str(action['src'].strip().rstrip('/'), env)
|
||||
action['src'] = render_str(action.get('src', '').strip().rstrip('/'), env)
|
||||
action['dst'] = render_str(action['dst'].strip().rstrip('/'), env)
|
||||
if action.get('src_mode') == '1':
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue