def proc_evt_echo_err(cmd, args): """Echo args to stderr.""" no_opts.prog = cmd no_opts.usage = "%prog MESSAGE..." no_opts.description = "Echo args to stderr" opts, args = no_opts.parse_args(args) return [event.stderr(" ".join(args))]
def task_stderr(self, data): # FIXME: RHTS Task can send an event! Handle it! self.send_evt(event.stderr(data))