summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2005-10-08 16:01:48 +0000
committerBob Ippolito <bob@redivi.com>2005-10-08 16:01:48 +0000
commitb04d47bec4f3c8b8573e7e04df44957079ab5e16 (patch)
treebdc4dc69f12da8c54e845c418d6a4261e44d1367
parent3496b2c2198d3999ac92403cbe656384e6c705b0 (diff)
downloadxattr-b04d47bec4f3c8b8573e7e04df44957079ab5e16.tar.gz
fix argsv0.2
-rw-r--r--Lib/xattr/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xattr/__init__.py b/Lib/xattr/__init__.py
index 7791829..8f85363 100644
--- a/Lib/xattr/__init__.py
+++ b/Lib/xattr/__init__.py
@@ -179,7 +179,7 @@ def listxattr(f, symlink=False):
def getxattr(f, attr, symlink=False):
__doc__ = xattr.get.__doc__
- return xattr(f).get(options=symlink and XATTR_NOFOLLOW or 0)
+ return xattr(f).get(attr, options=symlink and XATTR_NOFOLLOW or 0)
def setxattr(f, attr, value, options=0, symlink=False):
__doc__ = xattr.set.__doc__