~niedbalski/charm-helpers/fetch_is-package-installed

« back to all changes in this revision

Viewing changes to charmhelpers/contrib/templating/contexts.py

  • Committer: James Page
  • Date: 2014-03-05 10:37:16 UTC
  • mfrom: (125.1.1 charm-helpers)
  • Revision ID: james.page@canonical.com-20140305103716-36dittr8aj9mxyeh
[yolanda.robla,r=james-page] Skip add_source if source is None

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    config['charm_dir'] = charm_dir
69
69
    config['local_unit'] = charmhelpers.core.hookenv.local_unit()
70
70
 
71
 
 
72
71
    # Don't use non-standard tags for unicode which will not
73
72
    # work when salt uses yaml.load_safe.
74
73
    yaml.add_representer(unicode, lambda dumper,