- self._exec_gpg(stdin.r, contents.w, sys.stderr.fileno(), status.w)
+ self._exec_gpg(stdin.r, contents.w, stderr.w, status.w)
- read = self._do_io([contents.r, status.r], {stdin.w: data})
+ read = self._do_io([contents.r, stderr.r, status.r], {stdin.w: data})
stdin.w = None # was closed by _do_io
(pid_, exit_code, usage_) = os.wait4(pid, 0)
self.contents = read[contents.r]
self.status = read[status.r]
stdin.w = None # was closed by _do_io
(pid_, exit_code, usage_) = os.wait4(pid, 0)
self.contents = read[contents.r]
self.status = read[status.r]
def _do_io(self, read, write):
read_lines = dict( (fd, []) for fd in read )
def _do_io(self, read, write):
read_lines = dict( (fd, []) for fd in read )