diff options
author | Michael E Brown <michael_e_brown@dell.com> | 2007-12-11 12:58:29 -0600 |
---|---|---|
committer | Michael E Brown <michael_e_brown@dell.com> | 2007-12-11 12:58:29 -0600 |
commit | e7ddbe8fe2b81f74999318c59d2a37a0d18d72d0 (patch) | |
tree | 5aa6e05a4760a99c7ffc58072bf193fec0b6636d /py/mock.py | |
parent | 7c4c5d62b6400c3a30294cfa2d5f7b8fa1d37aec (diff) | |
download | mock-e7ddbe8fe2b81f74999318c59d2a37a0d18d72d0.tar.gz mock-e7ddbe8fe2b81f74999318c59d2a37a0d18d72d0.tar.xz mock-e7ddbe8fe2b81f74999318c59d2a37a0d18d72d0.zip |
fix rebuild multiple srpms test.
Diffstat (limited to 'py/mock.py')
-rwxr-xr-x | py/mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -277,7 +277,7 @@ def set_config_opts_per_cmdline(config_opts, options, args): raise mock.exception.BadCmdline( "Must specify --resultdir when using --cleanup-after") - if len(args) > 1 and not options.resultdir: + if options.mode in ("rebuild",) and len(args) > 1 and not options.resultdir: raise mock.exception.BadCmdline( "Must specify --resultdir when building multiple RPMS.") |