mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -10,16 +10,16 @@ groups = grp.getgrall()
|
|||
if verbose:
|
||||
print 'Groups:'
|
||||
for group in groups:
|
||||
print group
|
||||
print group
|
||||
|
||||
if not groups:
|
||||
if verbose:
|
||||
print "Empty Group Database -- no further tests of grp module possible"
|
||||
print "Empty Group Database -- no further tests of grp module possible"
|
||||
else:
|
||||
group = grp.getgrgid(groups[0][2])
|
||||
if verbose:
|
||||
print 'Group Entry for GID %d: %s' % (groups[0][2], group)
|
||||
print 'Group Entry for GID %d: %s' % (groups[0][2], group)
|
||||
|
||||
group = grp.getgrnam(groups[0][0])
|
||||
if verbose:
|
||||
print 'Group Entry for group %s: %s' % (groups[0][0], group)
|
||||
print 'Group Entry for group %s: %s' % (groups[0][0], group)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue