- Timestamp:
- Dec 20, 2009, 9:45:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/getafsgroups.py
r2590 r2688 34 34 if 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.