no need of status fd

This commit is contained in:
Yann Leboulanger 2005-07-22 17:26:05 +00:00
parent d67179053b
commit dfb3a7081a
1 changed files with 1 additions and 4 deletions

View File

@ -86,7 +86,7 @@ else:
def decrypt(self, str, keyID):
if not USE_GPG:
return str
proc = self.run(['--decrypt', '-q', '-u %s'%keyID], create_fhs=['stdin', 'stdout', 'status'])
proc = self.run(['--decrypt', '-q', '-u %s'%keyID], create_fhs=['stdin', 'stdout'])
enc = self._addHeaderFooter(str, 'MESSAGE')
proc.handles['stdin'].write(enc)
proc.handles['stdin'].close()
@ -94,9 +94,6 @@ else:
output = proc.handles['stdout'].read()
proc.handles['stdout'].close()
resp = proc.handles['status'].read()
proc.handles['status'].close()
try: proc.wait()
except IOError: pass
return output