~ibmcharmers/charms/xenial/layer-ibm-wxs-client/trunk

« back to all changes in this revision

Viewing changes to deps/layer/layer-basic/hooks/start

  • Committer: anitanayak at ibm
  • Date: 2017-03-13 06:31:27 UTC
  • Revision ID: anitanayak@in.ibm.com-20170313063127-ips0a5sweunl6lbl
Initial check-in for xenial layer-ibm-wxs-client

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 import basic
 
8
basic.bootstrap_charm_deps()
 
9
basic.init_config_states()
 
10
 
 
11
 
 
12
# This will load and run the appropriate @hook and other decorated
 
13
# handlers from $CHARM_DIR/reactive, $CHARM_DIR/hooks/reactive,
 
14
# and $CHARM_DIR/hooks/relations.
 
15
#
 
16
# See https://jujucharms.com/docs/stable/authors-charm-building
 
17
# for more information on this pattern.
 
18
from charms.reactive import main
 
19
main()