~bcsaller/pyjuju/statusd

« back to all changes in this revision

Viewing changes to juju/control/config_set.py

  • Committer: Benjamin Saller
  • Date: 2011-10-12 23:03:52 UTC
  • mfrom: (332.1.58 juju)
  • Revision ID: bcsaller@gmail.com-20111012230352-a07xf2jxrg6uf8v3
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
 
8
8
def configure_subparser(subparsers):
9
 
    sub_parser = subparsers.add_parser("set",
10
 
                                       help=command.__doc__)
 
9
    sub_parser = subparsers.add_parser(
 
10
        "set", help=config_set.__doc__, description=command.__doc__)
11
11
 
12
12
    sub_parser.add_argument(
13
13
        "--environment", "-e",
46
46
 
47
47
@inlineCallbacks
48
48
def config_set(environment, service_name, service_options):
49
 
    """Collect and render status information. """
 
49
    """Set service options.
 
50
    """
50
51
    provider = environment.get_machine_provider()
51
52
    client = yield provider.connect()
52
53