* Use the default poll() and cancel() implementations for BinpkgVerifier.
svn path=/main/trunk/; revision=10947
return self.returncode is None
def poll(self):
+ if self.returncode is not None:
+ self._wait_hook()
return self.returncode
def wait(self):
return self.returncode
def cancel(self):
- pass
+ self.cancelled = True
+ self.wait()
def addExitListener(self, f):
"""
self.returncode = rval
- def cancel(self):
- self.cancelled = True
-
- def poll(self):
- return self.returncode
-
class BinpkgExtractorAsync(SpawnProcess):
__slots__ = ("image_dir", "pkg", "pkg_path")