Commit 6d51163d authored by Ernesto Rodriguez Ortiz's avatar Ernesto Rodriguez Ortiz
Browse files

Remove not used import and change the name of the migration scripts

parent f669a4a1
......@@ -153,7 +153,7 @@ def _aegir_remove_platform_without_sites(target, environment, platform):
:param platform The patern name of the platform in wich the sites will be migrated on
aegir_path = target.get('aegir_path')
run('{}/remove-platform-wihout-sites {} {}'.format(aegir_path, environment, platform))
run('{}/remove-platforms {} {}'.format(aegir_path, environment, platform))
......@@ -217,7 +217,7 @@ def migrate(environment):
if _is_aegir_deployment(target):
# Deploy to Aegir server.
platform = _aegir_platform_name(target, environment)
if env.get('migrate', "false") == "true":
if env.get('migrate_sites', "false") == "true":
_aegir_migrate_sites(target, environment, platform)
if env.get('remove_platforms', "false") == "true":
......@@ -26,11 +26,6 @@ from fabric.contrib.files import exists
# Import socket to find the localhost IP address
import socket
import os
# Import datetime
from datetime import datetime
# Import default variables
from default_vars import *
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment