Use a bool instead of an int for the follow argument to
authorEvan Broder <broder@mit.edu>
Tue, 28 Jul 2009 01:02:43 +0000 (18:02 -0700)
committerEvan Broder <broder@mit.edu>
Tue, 28 Jul 2009 01:03:21 +0000 (18:03 -0700)
afs.acl.ACL.retrieve.

It'll get converted correctly when it gets passed into Cython anyway.

Signed-off-by: Evan Broder <broder@mit.edu>

afs/acl.py

index da0821f..713d5b8 100644 (file)
@@ -81,7 +81,7 @@ class ACL(object):
         self.pos = pos
         self.neg = neg
     @staticmethod
-    def retrieve(dir, follow=1):
+    def retrieve(dir, follow=True):
         """Retrieve the ACL for an AFS directory"""
         pos, neg = _parseAcl(_acl.getAcl(dir, follow))
         return ACL(pos, neg)