Module yumcommands :: Class YumCommand
[hide private]
[frames] | no frames]

Class YumCommand

source code


Instance Methods [hide private]
 
__init__(self) source code
 
doneCommand(self, base, msg, *args) source code
 
getNames(self) source code
 
getUsage(self)
Returns: A usage string for the command, including arguments.
source code
 
getSummary(self)
Returns: A one line summary of what the command does.
source code
 
doCheck(self, base, basecmd, extcmds) source code
 
doCommand(self, base, basecmd, extcmds)
Returns: (exit_code, [ errors ]) where exit_code is: 0 = we're done, exit 1 = we've errored, exit with error string 2 = we've got work yet to do, onto the next stage
source code
 
needTs(self, base, basecmd, extcmds) source code
Method Details [hide private]

getUsage(self)

source code 
Returns:
A usage string for the command, including arguments.

getSummary(self)

source code 
Returns:
A one line summary of what the command does.

doCommand(self, base, basecmd, extcmds)

source code 
Returns:
(exit_code, [ errors ]) where exit_code is: 0 = we're done, exit 1 = we've errored, exit with error string 2 = we've got work yet to do, onto the next stage