Skip to content

Commit

Permalink
Merge pull request #100 from xattr/fix-xattr-console-script
Browse files Browse the repository at this point in the history
Fix regression in xattr console script
  • Loading branch information
etrepum committed Dec 11, 2021
2 parents a642aa3 + a9f6657 commit f033e38
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Version 0.9.9 released 2021-12-11

* Fix regression in xattr console script
https://github.com/xattr/xattr/pull/100
* Add -c clear option
https://github.com/xattr/xattr/pull/98
* Add note about Linux namespace requirement
https://github.com/xattr/xattr/pull/96

Version 0.9.8 released 2021-11-19

* Update build to use Github Actions
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from setuptools import setup

VERSION = '0.9.8'
VERSION = '0.9.9'
DESCRIPTION = "Python wrapper for extended filesystem attributes"
LONG_DESCRIPTION = """
Extended attributes extend the basic attributes of files and directories
Expand Down
2 changes: 1 addition & 1 deletion xattr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
that exposes these extended attributes.
"""

__version__ = '0.9.8'
__version__ = '0.9.9'

from .compat import integer_types
from .lib import (XATTR_NOFOLLOW, XATTR_CREATE, XATTR_REPLACE,
Expand Down
2 changes: 1 addition & 1 deletion xattr/tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _dump(src, length=16):
return ''.join(result)


def main(argv):
def main(argv=sys.argv):
try:
(optargs, args) = getopt.getopt(argv[1:], "hlpwdzsc", ["help"])
except getopt.GetoptError as e:
Expand Down

0 comments on commit f033e38

Please sign in to comment.