Changed a popen2 to popen4.

This commit is contained in:
Jeremy Fincher 2003-09-02 08:09:58 +00:00
parent 9b2a114d0c
commit 236582f5e9

View File

@ -118,7 +118,7 @@ class Debian(callbacks.Privmsg, PeriodicFileDownloader):
if self.usePythonZegrep: if self.usePythonZegrep:
fd = gzip.open(self.contents) fd = gzip.open(self.contents)
fd = ifilter(imap(lambda line: r.search(line), fd)) fd = ifilter(imap(lambda line: r.search(line), fd))
(fd, _) = popen2.popen2(['zegrep', regexp, self.contents]) (fd, _) = popen2.popen4(['zegrep', regexp, self.contents])
packages = [] packages = []
for line in fd: for line in fd:
try: try: