Incorporate broder's comments.
[invirt/packages/python-afs.git] / afs / acl.py
index d9a6df4..a245aa2 100644 (file)
@@ -48,9 +48,9 @@ class ACL(object):
         self.pos = pos
         self.neg = neg
     @staticmethod
         self.pos = pos
         self.neg = neg
     @staticmethod
-    def retrieve(dir):
+    def retrieve(dir,follow=1):
         """Retrieve the ACL for an AFS directory"""
         """Retrieve the ACL for an AFS directory"""
-        pos, neg = _parseAcl(_acl.getAcl(dir))
+        pos, neg = _parseAcl(_acl.getAcl(dir, follow))
         return ACL(pos, neg)
 
 def showRights(r):
         return ACL(pos, neg)
 
 def showRights(r):