projects
/
invirt/packages/python-afs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6638da4
)
Use a bool instead of an int for the follow argument to
author
Evan Broder
<broder@mit.edu>
Tue, 28 Jul 2009 01:02:43 +0000
(18:02 -0700)
committer
Evan 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
patch
|
blob
|
history
diff --git
a/afs/acl.py
b/afs/acl.py
index
da0821f
..
713d5b8
100644
(file)
--- 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)