]> arthur.barton.de Git - bup.git/commit
In _add_linux_attr(), catch IOError, not EnvironmentError; handle ENOTTY.
authorRob Browning <rlb@defaultvalue.org>
Wed, 19 Jan 2011 05:51:06 +0000 (23:51 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 19 Jan 2011 05:51:11 +0000 (23:51 -0600)
commit35e6efa79a6e41bb7b13d05327787b0b1fb028a5
tree808377840ffe04f07492ae69d048f710363e242f
parent1cdc790502e23be4bfb9d55f4ac54ff61e7ee742
In _add_linux_attr(), catch IOError, not EnvironmentError; handle ENOTTY.

In _add_linux_attr(), when calling get_linux_file_attr(), catch
IOError, not EnvironmentError and handle ENOTTY (call add_error()).
ENOTTY can indicate that the underlying ioctl (FS_IOC_GETFLAGS) is
inappropriate.
lib/bup/metadata.py