mirror of https://github.com/python/cpython
Remove passwd.adjunct.byname from list of maps
for test_nis. Will backport to 2.5.
This commit is contained in:
parent
1b2f627f96
commit
e97c759660
|
@ -11,6 +11,13 @@ except nis.error, msg:
|
|||
# only do this if running under the regression suite
|
||||
raise TestSkipped, msg
|
||||
|
||||
try:
|
||||
# On some systems, this map is only accessible to the
|
||||
# super user
|
||||
maps.remove("passwd.adjunct.byname")
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
done = 0
|
||||
for nismap in maps:
|
||||
if verbose:
|
||||
|
|
Loading…
Reference in New Issue