Package: python-xattr
Version: 0.4-5
Severity: normal

`xattr foo` crashes if 'foo' has any extended attributes.

Here's a shell transcript which demonstrates the problem:

    % touch foo
    % xattr foo
    % xattr foo user.bar baz
    % xattr foo
    Traceback (most recent call last):
      File "/usr/bin/xattr", line 9, in <module>
        load_entry_point('xattr==0.4', 'console_scripts', 'xattr')()
      File "/usr/lib/pymodules/python2.6/xattr/tool.py", line 81, in main
        if long_format:
    UnboundLocalError: local variable 'long_format' referenced before assignment
     --- exit: 1 ---
    % xattr -l foo
    user.bar: baz

Upstream has fixed this (well, the tool's been moved around and
reindented and stuff) since 0.4, but no new release has been made.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-xattr depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  python                        2.6.5-5    An interactive high-level object-o
ii  python-support                1.0.9      automated rebuilding support for P

python-xattr recommends no packages.

python-xattr suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to