summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-06-11 18:13:06 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-06-18 09:45:00 +0000
commit9c0372c5048f093babec09c338263486502c3b3c (patch)
treeb9e0fbdd5724943c356b65f4b7375215c59a3811
parent7eccd2ad9a8b5415db9ea6270a138a92b70f1553 (diff)
downloadbuildstream-9c0372c5048f093babec09c338263486502c3b3c.tar.gz
_fuse/hardlinks: don't return result of os.unlink
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.py2
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)'