~bbaqar/charms/trusty/plumgrid-gateway/ext-interface-static

« back to all changes in this revision

Viewing changes to hooks/pg_gw_context.py

  • Committer: bbaqar at plumgrid
  • Date: 2015-08-24 16:24:20 UTC
  • Revision ID: bbaqar@plumgrid.com-20150824162420-s8rwxkv7lwj5m287
Improvments in Makefile and Amulets

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Copyright (c) 2015, PLUMgrid Inc, http://plumgrid.com
2
2
 
3
 
# This file contains the class that generates context for PLUMgrid template files.
 
3
# This file contains the class that generates context for
 
4
# PLUMgrid template files.
4
5
 
5
6
from charmhelpers.core.hookenv import (
6
7
    relation_ids,
52
53
 
53
54
    def pg_ctxt(self):
54
55
        '''
55
 
        Generated Config for all PLUMgrid templates inside the templates folder.
 
56
        Generated Config for all PLUMgrid templates inside the
 
57
        templates folder.
56
58
        '''
57
59
        pg_ctxt = super(PGGwContext, self).pg_ctxt()
58
60
        if not pg_ctxt: