'Paste and convert data from external tool output'

def do_toolpaste(self, input):

    (argc, argv) = util.parseinput(input, 2)
    if (argc in (0, 1)):
        self.help_toolpaste()
    elif (argc == 2):
        try:
            self.conv_tools[argv[0]](argv[1])
        except KeyError:
            raise exception.CmdErr, 'Invalid    input'
