def configuration(self): config = secure.SFTPTransporter.configuration(self) config.update(CompositeNode.configuration(self)) for attrname in ftp_attrs: config.setdefault(attrname, '') config['transport_type'] = self.getattr('transport_type') return config
def configuration(self): config = secure.SFTPTransporter.configuration(self) config.update(CompositeNode.configuration(self)) for attrname in ftp_attrs: config.setdefault(attrname, '') config['transport_type'] = self.getattr('transport_type') return config
def configuration(self): config = http_post_transporter.HTTPPostTransporter.configuration(self) config.update(CompositeNode.configuration(self)) for attrname in ['post_url', 'chunked_data', 'debug', 'content_type', 'timeout', 'user', 'password']: config.setdefault(attrname, '') config['transport_type'] = self.getattr('transport_type') return config
def configuration(self): config = smtp_transporter.SMTPTransporter.configuration(self) config.update(CompositeNode.configuration(self)) for attrname in ['debug','host','port','authenticate','username', 'password','sender','recipients','subject', 'timeout','custom_domain','subtype','as_attachment']: config.setdefault(attrname,'') config['transport_type'] = self.getattr('transport_type') return config
def configuration(self): config = PeriodicDriver.configuration(self) config.update(CompositeNode.configuration(self)) if config.has_key('output'): del(config['output']) outputs = self.outputs[:] while len(outputs) < 10: outputs.append('') config['outputs'] = outputs return config
def configuration(self): config = http_post_transporter.HTTPPostTransporter.configuration(self) config.update(CompositeNode.configuration(self)) for attrname in [ 'post_url', 'chunked_data', 'debug', 'content_type', 'timeout', 'user', 'password' ]: config.setdefault(attrname, '') config['transport_type'] = self.getattr('transport_type') return config
def configuration(self): config = smtp_transporter.SMTPTransporter.configuration(self) config.update(CompositeNode.configuration(self)) for attrname in [ 'debug', 'host', 'port', 'authenticate', 'username', 'password', 'sender', 'recipients', 'subject', 'timeout', 'custom_domain', 'subtype', 'as_attachment' ]: config.setdefault(attrname, '') config['transport_type'] = self.getattr('transport_type') return config