- Timestamp:
- Aug 10, 2009, 6:55:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy/code/getafsgroups.py
r2119 r2425 34 34 if c.type == 'afs' and c.cell == cell and hasattr(c, 'auth'): 35 35 encrypt = c.auth 36 subprocess.check_call(['aklog', cell], stdout=subprocess.PIPE, stderr=subprocess.PIPE) 36 if encrypt: 37 subprocess.check_call(['aklog', cell], stdout=subprocess.PIPE, stderr=subprocess.PIPE) 37 38 p = subprocess.Popen(["pts", "membership", "-encrypt" if encrypt else '-noauth', group, '-c', cell], 38 39 stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Note: See TracChangeset
for help on using the changeset viewer.