diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-04-06 14:15:24 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-04-06 14:15:24 +0100 |
commit | 5c8ad1bf85400aaacb82a478304bb77661d726a1 (patch) | |
tree | d751eb7ca78274d1d50c25306b2363130dfe5d94 /debian/watch | |
parent | 8b30bc8e3ca0a8721a733757a972b16f9d74f269 (diff) | |
download | sos-5c8ad1bf85400aaacb82a478304bb77661d726a1.tar.gz |
Break up exception handling in FileCacheArchive.add_file()
An exception can occur at several points in add_file()
- Copying the source to the destination
- Propagating permissions with shutil.copystat
- Setting ownership via os.chown
The second of these can occur when copying SELinux xattrs from
/proc. Separate out the three cases and ignore failures in
copystat.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'debian/watch')
0 files changed, 0 insertions, 0 deletions