~ibmcharmers/interface-ibm-mq/devel

« back to all changes in this revision

Viewing changes to requires.py

  • Committer: anitanayak at ibm
  • Date: 2017-02-15 08:24:12 UTC
  • Revision ID: anitanayak@in.ibm.com-20170215082412-j334gq8qj4hcgqwl
checkin for interface interface-ibm-mq

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
class mq1Requires(RelationBase):
7
7
    scope = scopes.GLOBAL
8
8
 
9
 
#    auto_accessors = ['QM_Name','Qname','host','port']
10
 
 
11
9
    @hook('{requires:ibm-mq}-relation-joined')
12
10
    def joined(self):
13
11
        self.remove_state('{relation_name}.departed')