X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b22b86d9a31ed73886db8b4862ff543c7507c6ce..2b1ab564fcb271fc8f3593427e760c1b367acbe8:/code/getafsgroups.py diff --git a/code/getafsgroups.py b/code/getafsgroups.py index 4e4b383..d8ba297 100644 --- a/code/getafsgroups.py +++ b/code/getafsgroups.py @@ -28,6 +28,7 @@ class AfsProcessError(Exception): pass def getAfsGroupMembers(group, cell): + subprocess.check_call(['aklog', cell], stdout=subprocess.PIPE, stderr=subprocess.PIPE) p = subprocess.Popen(["pts", "membership", "-encrypt", group, '-c', cell], stdout=subprocess.PIPE, stderr=subprocess.PIPE) err = p.stderr.read()