From e450ff4c98d7c10f5eca5651512d03e14e486eff Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 27 Jul 2009 18:02:43 -0700 Subject: [PATCH] Use a bool instead of an int for the follow argument to afs.acl.ACL.retrieve. It'll get converted correctly when it gets passed into Cython anyway. Signed-off-by: Evan Broder --- afs/acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afs/acl.py b/afs/acl.py index da0821f..713d5b8 100644 --- a/afs/acl.py +++ b/afs/acl.py @@ -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) -- 1.7.9.5