daemon/core/misc/xmlwriter1.py
def addChannelReference(self):
        '''
        Add a reference to the channel that uses this interface
        '''
        try:
            cm = self.scenPlan.allChannelMembers[self.id]
            if cm is not None:
                ch = cm.baseEle.parentNode
                if ch is not None:
                    net = ch.parentNode
                    if net is not None:
                        MemberElement(self.scenPlan,
                                      self,
                                      referencedType=Attrib.MembType.CHANNEL,
                                      referencedId=ch.getAttribute("id"),
                                      index=int(cm.getAttribute("index")))
                        MemberElement(self.scenPlan,
                                      self,
                                      referencedType=Attrib.MembType.NETWORK,
                                      referencedId=net.getAttribute("id"))
        except KeyError:
            pass

        Add a reference to the channel that uses this interface
        
Add a reference to the channel that uses this interface
Add a reference to the channel that uses this interface
def addChannelReference(self):
        try:
            cm = self.scenPlan.allChannelMembers[self.id]
            if cm is not None:
                ch = cm.baseEle.parentNode
                if ch is not None:
                    net = ch.parentNode
                    if net is not None:
                        MemberElement(self.scenPlan,
                                      self,
                                      referencedType=Attrib.MembType.CHANNEL,
                                      referencedId=ch.getAttribute("id"),
                                      index=int(cm.getAttribute("index")))
                        MemberElement(self.scenPlan,
                                      self,
                                      referencedType=Attrib.MembType.NETWORK,
                                      referencedId=net.getAttribute("id"))
        except KeyError:
            pass
def addChannelReference ( self ) : try : cm = self . scenPlan . allChannelMembers [ self . id ] if cm is not None : ch = cm . baseEle . parentNode if ch is not None : net = ch . parentNode if net is not None : MemberElement ( self . scenPlan , self , referencedType = Attrib . MembType . CHANNEL , referencedId = ch . getAttribute ( "id" ) , index = int ( cm . getAttribute ( "index" ) ) ) MemberElement ( self . scenPlan , self , referencedType = Attrib . MembType . NETWORK , referencedId = net . getAttribute ( "id" ) ) except KeyError : pass
Add a reference to the channel that uses this interface
Add a reference to the channel that uses this interface
'''
        Add a reference to the channel that uses this interface
        '''
self