diff options
author | Stanislav Ivchin <s_ivchin@wargaming.net> | 2015-12-30 15:53:36 +0300 |
---|---|---|
committer | Stanislav Ivchin <s_ivchin@wargaming.net> | 2015-12-30 15:53:36 +0300 |
commit | 1dd62b13fa532b9335782f26c253495df6df1c1d (patch) | |
tree | e24770ee6114e55cd6d681a67739563aad86fd4d /web_infrastructure | |
parent | f6a7b6dd1f7be93ba640c50bf26adeeabb5af46f (diff) | |
download | ansible-modules-extras-1dd62b13fa532b9335782f26c253495df6df1c1d.tar.gz |
little fix: facts['path'] -> facts['project_path']
Diffstat (limited to 'web_infrastructure')
-rw-r--r-- | web_infrastructure/deploy_helper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web_infrastructure/deploy_helper.py b/web_infrastructure/deploy_helper.py index 21a98765..ebf5b54a 100644 --- a/web_infrastructure/deploy_helper.py +++ b/web_infrastructure/deploy_helper.py @@ -446,12 +446,12 @@ def main(): changes += deploy_helper.remove_unfinished_file(facts['new_release_path']) changes += deploy_helper.create_link(facts['new_release_path'], facts['current_path']) if deploy_helper.clean: - changes += deploy_helper.remove_unfinished_link(facts['path']) + changes += deploy_helper.remove_unfinished_link(facts['project_path']) changes += deploy_helper.remove_unfinished_builds(facts['releases_path']) changes += deploy_helper.cleanup(facts['releases_path'], facts['new_release']) elif deploy_helper.state == 'clean': - changes += deploy_helper.remove_unfinished_link(facts['path']) + changes += deploy_helper.remove_unfinished_link(facts['project_path']) changes += deploy_helper.remove_unfinished_builds(facts['releases_path']) changes += deploy_helper.cleanup(facts['releases_path'], facts['new_release']) |