Skip to content
Snippets Groups Projects
Commit 432ddffd authored by James Ennis's avatar James Ennis
Browse files

pylint - dealt with unnecessary-pass warning

parent 9b4f54e1
No related branches found
No related tags found
1 merge request!283Resolve "Use pylint for linting"
......@@ -114,7 +114,6 @@ disable=#####################################
logging-format-interpolation,
unnecessary-pass,
cyclic-import,
# These are hard to spot without linting, but easy to fix
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment