From a9f6657d876524eaffda4bd05adc523e2226b8f2 Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 11 Dec 2021 07:55:13 -0800 Subject: Fix regression in xattr console script --- CHANGES.txt | 9 +++++++++ setup.py | 2 +- xattr/__init__.py | 2 +- xattr/tool.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 0db3bd2..be23d5b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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 diff --git a/setup.py b/setup.py index 928ab2a..b9e51ff 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import sys 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 diff --git a/xattr/__init__.py b/xattr/__init__.py index 4e5a517..68f47ca 100644 --- a/xattr/__init__.py +++ b/xattr/__init__.py @@ -7,7 +7,7 @@ The xattr type wraps a path or file descriptor with a dict-like interface 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, diff --git a/xattr/tool.py b/xattr/tool.py index d9548e1..d3a361a 100755 --- a/xattr/tool.py +++ b/xattr/tool.py @@ -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: -- cgit v1.2.1