From: Evan Broder Date: Tue, 28 Jul 2009 01:02:43 +0000 (-0700) Subject: Use a bool instead of an int for the follow argument to X-Git-Tag: 0.1.0~16 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/python-afs.git/commitdiff_plain/e450ff4c98d7c10f5eca5651512d03e14e486eff 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 --- 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)