diff options
author | Brian Coca <bcoca@ansible.com> | 2016-01-12 10:53:46 -0500 |
---|---|---|
committer | Brian Coca <bcoca@ansible.com> | 2016-01-12 10:53:46 -0500 |
commit | 8327b862d605d607ba848e326e5a308994c07c06 (patch) | |
tree | e06897da6d87b0ac8cdc770c8fb09ed158737cb4 /web_infrastructure | |
parent | 80737755eae0585423d5b814e469c6fb43c25ef8 (diff) | |
parent | 1dd62b13fa532b9335782f26c253495df6df1c1d (diff) | |
download | ansible-modules-extras-8327b862d605d607ba848e326e5a308994c07c06.tar.gz |
Merge pull request #1439 from stivio/devel
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']) |