~gnuoy/charms/trusty/percona-cluster/retry-loner

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/peerstorage/__init__.py

  • Committer: Liam Young
  • Date: 2015-05-13 10:21:30 UTC
  • Revision ID: liam.young@canonical.com-20150513102130-mwbew1clxmodju04
Remove last two commits pushed in error

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    exc_list = exc_list if exc_list else []
74
74
    peerdb_settings = peer_retrieve('-', relation_name=relation_name)
75
75
    matched = {}
76
 
    if peerdb_settings is None:
77
 
        return matched
78
76
    for k, v in peerdb_settings.items():
79
77
        full_prefix = prefix + delimiter
80
78
        if k.startswith(full_prefix):