Example #1
0
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))]
Example #2
0
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))]
Example #3
0
 def task_stderr(self, data):
     # FIXME: RHTS Task can send an event! Handle it!
     self.send_evt(event.stderr(data))
Example #4
0
 def task_stderr(self, data):
     # FIXME: RHTS Task can send an event! Handle it!
     self.send_evt(event.stderr(data))