diff options
author | James Ennis <james.ennis@codethink.com> | 2018-02-14 17:42:18 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2018-03-14 17:31:06 +0000 |
commit | 432ddffdcb917e2b5a70b2cce0459be1b5881ad1 (patch) | |
tree | d62670fb6adecc495ac4b218130eb1e2e1b53d6f /buildstream/utils.py | |
parent | 9b4f54e1f8f1d064faaa51a5f480cb890892fb54 (diff) | |
download | buildstream-432ddffdcb917e2b5a70b2cce0459be1b5881ad1.tar.gz |
pylint - dealt with unnecessary-pass warning
Diffstat (limited to 'buildstream/utils.py')
-rw-r--r-- | buildstream/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py index bd68522ad..a0c5eeba7 100644 --- a/buildstream/utils.py +++ b/buildstream/utils.py @@ -255,7 +255,7 @@ def safe_copy(src, dest, *, result=None): # over extended file attributes. if result: result.failed_attributes.append(dest) - pass + except shutil.Error as e: raise UtilError("Failed to copy '{} -> {}': {}" .format(src, dest, e)) from e |