]> arthur.barton.de Git - bup.git/commit
Remove MetadataAcquireError and make error handling finer-grained
authorRob Browning <rlb@defaultvalue.org>
Wed, 5 Jan 2011 06:35:47 +0000 (00:35 -0600)
committerRob Browning <rlb@defaultvalue.org>
Wed, 5 Jan 2011 06:35:47 +0000 (00:35 -0600)
commit1b653d8d9f9b483496cb210e85700cffac98cbe4
tree06a006a6f21e13fad6f2939618178138ea1df568
parent02d261d152c9c634c9fdf19bb3b71b6225e18f18
Remove MetadataAcquireError and make error handling finer-grained

Handle errors that were handled by a blanket MetadataAcquireError
catch more selectively.  Call add_error() instead for any OSError
exception from readlink(), and for any EnvironmentError exception from
get_linux_file_attr() where errno == EACCES (i.e. chmod 000).  Allow
other exceptions to pass through.
lib/bup/metadata.py
lib/bup/t/tmetadata.py