~gnuoy/charms/trusty/openstack-dashboard/plugin-relation

« back to all changes in this revision

Viewing changes to hooks/horizon_contexts.py

  • Committer: Michał Sawicz
  • Date: 2015-05-28 10:10:50 UTC
  • Revision ID: michal.sawicz@canonical.com-20150528101050-m0m7ywt3b7l6w9ck
Fix lint

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
class LocalSettingsContext(OSContextGenerator):
178
178
    def __call__(self):
179
179
        ''' Additional config stanzas to be appended to local_settings.py '''
180
 
        
 
180
 
181
181
        settings = []
182
 
        
 
182
 
183
183
        for rid in relation_ids("settings"):
184
184
            try:
185
185
                unit = related_units(rid)[0]
194
194
        ctxt = {
195
195
            'settings': settings
196
196
        }
197
 
        return ctxt
 
 
b'\\ No newline at end of file'
 
197
        return ctxt
 
198