def _run_pyshark(self, pyshark):
<EOL>if self._exlyr != '<STR_LIT:None>' or self._exptl != '<STR_LIT:null>':<EOL><INDENT>warnings.warn("<STR_LIT>"<EOL>f"<STR_LIT>",<EOL>AttributeWarning, stacklevel=stacklevel())<EOL><DEDENT>if (self._ipv4 or self._ipv6 or self._tcp):<EOL><INDENT>self._ipv4 = self._ipv6 = self._tcp = False<EOL>self._reasm = [None] * <NUM_LIT:3><EOL>warnings.warn("<STR_LIT>"<EOL>f"<STR_LIT>",<EOL>AttributeWarning, stacklevel=stacklevel())<EOL><DEDENT>self._expkg = pyshark<EOL>self._extmp = iter(pyshark.FileCapture(self._ifnm, keep_packets=False))<EOL>self.record_frames()<EOL>
Call pyshark.FileCapture to extract PCAP files.