summaryrefslogtreecommitdiff
path: root/web_infrastructure
diff options
context:
space:
mode:
authorBrian Coca <bcoca@ansible.com>2016-01-12 10:53:46 -0500
committerBrian Coca <bcoca@ansible.com>2016-01-12 10:53:46 -0500
commit8327b862d605d607ba848e326e5a308994c07c06 (patch)
treee06897da6d87b0ac8cdc770c8fb09ed158737cb4 /web_infrastructure
parent80737755eae0585423d5b814e469c6fb43c25ef8 (diff)
parent1dd62b13fa532b9335782f26c253495df6df1c1d (diff)
downloadansible-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.py4
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'])