diff options
Diffstat (limited to 'debian/patches/py3_inheritable.patch')
-rw-r--r-- | debian/patches/py3_inheritable.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/py3_inheritable.patch b/debian/patches/py3_inheritable.patch new file mode 100644 index 0000000..f642733 --- /dev/null +++ b/debian/patches/py3_inheritable.patch @@ -0,0 +1,14 @@ +=== modified file 'aptdaemon/progress.py' +--- a/aptdaemon/progress.py 2014-02-07 20:40:15 +0000 ++++ b/aptdaemon/progress.py 2014-04-11 11:58:33 +0000 +@@ -395,6 +395,9 @@ + self.last_activity = 0 + self.child_pid = 0 + self.status_parent_fd, self.status_child_fd = os.pipe() ++ if hasattr(os, "set_inheritable"): ++ os.set_inheritable(self.status_parent_fd, True) ++ os.set_inheritable(self.status_child_fd, True) + self.output = "" + self._line_buffer = "" + + |