summaryrefslogtreecommitdiff
path: root/buildstream/_fuse
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-06-25 20:03:58 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-06-25 20:03:58 +0900
commit235d3144aac05a1d7f47e118b52302a6cb59cdcd (patch)
treeb6e58eaba786ba0e6804aab6848e4bedf4de6386 /buildstream/_fuse
parentebb89259c3cdc92c7c65b1520051ae8ca8f780e9 (diff)
downloadbuildstream-235d3144aac05a1d7f47e118b52302a6cb59cdcd.tar.gz
_fuse/mount.py: Adjust to new 'ignore' keyword argument of _signals.blocked()
Instead of calling this 'discard', it is more appropriately named 'ignore'
Diffstat (limited to 'buildstream/_fuse')
-rw-r--r--buildstream/_fuse/mount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_fuse/mount.py b/buildstream/_fuse/mount.py
index a1264fe64..33fe48b50 100644
--- a/buildstream/_fuse/mount.py
+++ b/buildstream/_fuse/mount.py
@@ -95,7 +95,7 @@ class Mount():
# Ensure the child fork() does not inherit our signal handlers, if the
# child wants to handle a signal then it will first set it's own
# handler, and then unblock it.
- with _signals.blocked([signal.SIGTERM, signal.SIGTSTP, signal.SIGINT], discard=False):
+ with _signals.blocked([signal.SIGTERM, signal.SIGTSTP, signal.SIGINT], ignore=False):
self.__process.start()
# This is horrible, we're going to wait until mountpoint is mounted and that's it.