summaryrefslogtreecommitdiffstats
path: root/py/mock/exception.py
Commit message (Collapse)AuthorAgeFilesLines
* added logic to detect invalid architecture combinations (BZ# 607144)Clark Williams2010-07-271-0/+7
| | | | | | | | | Modified py/mock.py to dectect invalid build combinations (e.g. trying to build x86_64 packages on an i386 host) and to throw an InvalidArchitecture exception when detected. Added the above exception to py/mock/execption.py Signed-off-by: Clark Williams <williams@redhat.com>
* Clean up unused imports.Ville Skyttä2010-03-201-1/+0
|
* add new exception for result dir not being accessible and print nice ↵Michael E Brown2008-11-181-0/+14
| | | | friendly error message.
* convert mock.util.do() to use subprocess.Popen() rather than raw ↵Michael E Brown2008-01-201-2/+2
| | | | fork/exec.\nThis cleans up the code considerably. Also, start reducing the places where we use a shell in the subcommand.
* - make "mock --chroot" non-interactive - set the exit code of "mock ↵Mike Bonnet2007-12-111-1/+4
| | | | | | --chroot" to the exit code of the process run in the chroot - log the output of the process to root.log Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
* mostly whitespace fixes, plus a few other things to make pylint/pychecker ↵Michael E Brown2007-12-021-3/+11
| | | | happier. No significant code changes.
* move things around so that we can run mock.py from the build tree instead of ↵Michael E Brown2007-11-301-0/+68
having to install it.