def decorate(self,arguments): from Process import decorate decorate(self,arguments) keys = self.args.keys() if 'tls' in keys: if self.args.get('tls'): self.sender = self.secure else: self.sender = self.unsecure if 'payload' in keys: if 'large' == self.args.get('payload'): self.handler = self.large else: self.handler = self.small return self
def decorate(self,arguments): from Process import decorate return decorate(self,arguments)