On 10/02/2012 08:14 AM, tim.lauridsen(a)gmail.com wrote:
On Tue, Oct 2, 2012 at 8:05 AM, Alec Leamas <leamas.alec(a)gmail.com
<mailto: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 = None
if 'mock' in grp.getgrall():
mock_gid = grp.getgrnam('mock')[2]
Should fix that
Tim
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.
Where is the relevant EPEL mock package?
_______________________________________________
fedorareview mailing list
fedorareview(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/fedorareview