Changeset 1955


Ignore:
Timestamp:
Jan 1, 2009, 5:55:12 PM (16 years ago)
Author:
broder
Message:

Ignore errors from an AFS group not being listable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/getafsgroups.py

    r1947 r1955  
    3333    err = p.stderr.read()
    3434    if err: #Error code doesn't reveal missing groups, but stderr does
     35        if err.startswith('pts: Permission denied ; unable to get membership of '):
     36            return []
    3537        raise AfsProcessError(err)
    3638    return [line.strip() for line in p.stdout.readlines()[1:]]
Note: See TracChangeset for help on using the changeset viewer.