daemon/core/misc/xmlwriter1.py
def addDevices(self):
        ''' Add device elements to the scenario plan.
        '''
        for node in self.coreSession.objs():
            if not isinstance(node, (nodes.PyCoreNode)):
                continue
            try:
                DeviceElement(self, self, node)
            except:
                if hasattr(node, "name") and node.name:
                    self.coreSession.warn('Unsupported device: %s' % node.name)
                else:
                    self.coreSession.warn('Unsupported device: %s' % node.__class__.__name__)
 Add device elements to the scenario plan.
        
Add device elements to the scenario plan.
Add device elements to the scenario plan .
def addDevices(self):
        for node in self.coreSession.objs():
            if not isinstance(node, (nodes.PyCoreNode)):
                continue
            try:
                DeviceElement(self, self, node)
            except:
                if hasattr(node, "name") and node.name:
                    self.coreSession.warn('Unsupported device: %s' % node.name)
                else:
                    self.coreSession.warn('Unsupported device: %s' % node.__class__.__name__)
def addDevices ( self ) : for node in self . coreSession . objs ( ) : if not isinstance ( node , ( nodes . PyCoreNode ) ) : continue try : DeviceElement ( self , self , node ) except : if hasattr ( node , "name" ) and node . name : self . coreSession . warn ( 'Unsupported device: %s' % node . name ) else : self . coreSession . warn ( 'Unsupported device: %s' % node . __class__ . __name__ )
Add device elements to the scenario plan.
Add device elements to the scenario plan .
''' Add device elements to the scenario plan.
        '''
self