mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Mass check-in after untabifying all files that need it.
This commit is contained in:
parent
cd0f59ea08
commit
41360a4696
36 changed files with 919 additions and 919 deletions
|
|
@ -11,19 +11,19 @@ except nis.error, msg:
|
|||
done = 0
|
||||
for nismap in maps:
|
||||
if verbose:
|
||||
print nismap
|
||||
print nismap
|
||||
mapping = nis.cat(nismap)
|
||||
for k, v in mapping.items():
|
||||
if verbose:
|
||||
print ' ', k, v
|
||||
if not k:
|
||||
continue
|
||||
if nis.match(k, nismap) <> v:
|
||||
print "NIS match failed for key `%s' in map `%s'" % (k, nismap)
|
||||
else:
|
||||
# just test the one key, otherwise this test could take a
|
||||
# very long time
|
||||
done = 1
|
||||
break
|
||||
if verbose:
|
||||
print ' ', k, v
|
||||
if not k:
|
||||
continue
|
||||
if nis.match(k, nismap) <> v:
|
||||
print "NIS match failed for key `%s' in map `%s'" % (k, nismap)
|
||||
else:
|
||||
# just test the one key, otherwise this test could take a
|
||||
# very long time
|
||||
done = 1
|
||||
break
|
||||
if done:
|
||||
break
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue