~ibmcharmers/charms/trusty/layer-ibm-mobilefirst-server/trunk

« back to all changes in this revision

Viewing changes to deps/layer/layer-leadership/hooks/leader-settings-changed

  • Committer: Suchitra Venugopal
  • Date: 2016-09-06 09:48:53 UTC
  • Revision ID: suchvenu@in.ibm.com-20160906094853-1n09myeisek096nm
IBM MobileFirst Server

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python3
 
2
 
 
3
# Load modules from $CHARM_DIR/lib
 
4
import sys
 
5
sys.path.append('lib')
 
6
 
 
7
from charms.layer.basic import bootstrap_charm_deps
 
8
bootstrap_charm_deps()
 
9
 
 
10
 
 
11
# This will load and run the appropriate @hook and other decorated
 
12
# handlers from $CHARM_DIR/reactive, $CHARM_DIR/hooks/reactive,
 
13
# and $CHARM_DIR/hooks/relations.
 
14
#
 
15
# See https://jujucharms.com/docs/stable/authors-charm-building
 
16
# for more information on this pattern.
 
17
from charms.reactive import main
 
18
main()