~abentley/juju-ci-tools/client-from-config-4

« back to all changes in this revision

Viewing changes to bootstrap

  • Committer: Martin Packman
  • Date: 2015-12-16 03:59:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1200.
  • Revision ID: martin.packman@canonical.com-20151216035938-881wbry7ezh8he5m
Add missing template test file

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
    args = parser.parse_args()
23
23
    env = SimpleEnvironment.from_config(args.env)
24
24
    if args.name is not None:
25
 
        env.set_model_name(args.name)
 
25
        env.environment = args.name
26
26
    for option in args.option:
27
27
        key, value = option.split('=', 1)
28
28
        env.config[key] = value