mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Changed a popen2 to popen4.
This commit is contained in:
parent
9b2a114d0c
commit
236582f5e9
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user