summaryrefslogtreecommitdiff
path: root/web_infrastructure
diff options
context:
space:
mode:
authorStanislav Ivchin <s_ivchin@wargaming.net>2015-12-30 15:53:36 +0300
committerStanislav Ivchin <s_ivchin@wargaming.net>2015-12-30 15:53:36 +0300
commit1dd62b13fa532b9335782f26c253495df6df1c1d (patch)
treee24770ee6114e55cd6d681a67739563aad86fd4d /web_infrastructure
parentf6a7b6dd1f7be93ba640c50bf26adeeabb5af46f (diff)
downloadansible-modules-extras-1dd62b13fa532b9335782f26c253495df6df1c1d.tar.gz
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'])