Assuming that mock is usable even if there's no mock group, that is (sounds strange to me). Any such fix should be conditionalized either on running tests or running on EPEL IMHO.
On Tue, Oct 2, 2012 at 8:05 AM, Alec Leamas <leamas.alec@gmail.com> wrote:
File "/home/hudson/.hudson/jobs/FedoraReview/workspace/src/FedoraReview/settings.py", line 52, in _check_mock_grp
mock_gid = grp.getgrnam('mock')[2]
KeyError: 'getgrnam(): name not found: mock'
I am not sure we will be able to fix this last one... :-/
Ideas welcome
mock_gid = Noneif 'mock' in grp.getgrall():mock_gid = grp.getgrnam('mock')[2]
Should fix that
Tim
_______________________________________________ fedorareview mailing list fedorareview@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/fedorareview