~canonical-ci-engineering/charms/precise/ubuntu-ci-services-itself/rabbitmq-worker

« back to all changes in this revision

Viewing changes to hooks/hooks.py

  • Committer: Andy Doan
  • Date: 2013-12-07 05:06:05 UTC
  • Revision ID: andy.doan@canonical.com-20131207050605-foah2fmpo97ak03z
fix quoting issue

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    args = ['relation-set']
26
26
    if relation_id:
27
27
        args.extend(['-r', relation_id])
28
 
    args.extend(["{}='{}'".format(k, v or '') for k, v in keyvalues.items()])
 
28
    args.extend(["{}={}".format(k, v or '') for k, v in keyvalues.items()])
29
29
    subprocess.check_call(args)
30
30
 
31
31