data.py: tweak getgrnam call for PyPy
authorZac Medico <zmedico@gentoo.org>
Fri, 16 Dec 2011 03:11:53 +0000 (19:11 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 16 Dec 2011 03:11:53 +0000 (19:11 -0800)
commitb7aa8acf8f353c11e622692a863716966eacad6f
treeb2bb544981a1640b1079fb2c8596d2cf775e8443
parent9c2990c593d739f19e85415b841273c74e54911d
data.py: tweak getgrnam call for PyPy

This makes it unnecessary to explicitly call portage.data._init() in
runTests, and fixes some other cases that trigger the same issue.
pym/portage/data.py
pym/portage/tests/runTests