diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-06-11 18:13:06 +0100 |
---|---|---|
committer | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-06-12 10:53:53 +0100 |
commit | 95563d769aab06499040ad94fb7cc3d5a6e88c4e (patch) | |
tree | a1f6d00cd6fb954cd22f926cfb5a2c6f74e9120e | |
parent | 05d71a07e12ecbd5a95ac3edf8fadfd843e991ac (diff) | |
download | buildstream-aevri/pylint_argsdiff.tar.gz |
_fuse/hardlinks: don't return result of os.unlinkaevri/pylint_argsdiff
Don't return, instead of returning 'the result' of os.unlink - it also
doesn't return anything (and neither does the semantically identical
os.remove).
-rw-r--r-- | src/buildstream/_fuse/hardlinks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_fuse/hardlinks.py b/src/buildstream/_fuse/hardlinks.py index bcc2eeaa3..798e1c816 100644 --- a/src/buildstream/_fuse/hardlinks.py +++ b/src/buildstream/_fuse/hardlinks.py @@ -161,7 +161,7 @@ class SafeHardlinkOps(Operations): 'f_ffree', 'f_files', 'f_flag', 'f_frsize', 'f_namemax')) def unlink(self, path): - return os.unlink(self._full_path(path)) + os.unlink(self._full_path(path)) def symlink(self, target, source): 'creates a symlink `target -> source` (e.g. ln -s source target)' |