import pwd
import wizard
-from wizard import deploy
-from wizard import util
-from wizard import shell
-from wizard import sset
-from wizard.command import _command
+from wizard import deploy, util, shell, sset, command
from wizard.command import migrate
def main(argv, baton):
d = deploy.Deployment.parse(line)
except deploy.DeploymentParseError, deploy.NoSuchApplication:
continue
- name = d.getApplication().name
+ name = d.application.name
if name != app: continue
if d.location in seen:
continue
the scripts AFS patch. You may run it as an unpriviledged
user for testing purposes, but then you MUST NOT run this on
untrusted repositories."""
- parser = _command.WizardOptionParser(usage)
+ parser = command.WizardOptionParser(usage)
parser.add_option("--no-parallelize", dest="no_parallelize", action="store_true",
default=False, help="Turn off parallelization")
parser.add_option("--dry-run", dest="dry_run", action="store_true",
return options, args
def calculate_base_args(options):
- base_args = _command.makeBaseArgs(options, dry_run="--dry-run")
+ base_args = command.makeBaseArgs(options, dry_run="--dry-run")
if not options.debug:
base_args.append("--quiet")
return base_args