> latest version from mercurial fails here with:
>
> $ PATH=/usr/sbin:$PATH ./scapy.py
> ./scapy.py:3224: Warning: 'with' will become a reserved keyword in Python 2.6
> ./scapy.py:3226: Warning: 'with' will become a reserved keyword in Python 2.6
> INFO: did not find python gnuplot wrapper . Won't be able to plot
> INFO: Can't import PyX. Won't be able to use psdump() or pdfdump()
> WARNING: Failed to execute tcpdump. Check it is installed and in the PATH
> INFO: Can't find Crypto python lib. Won't be able to decrypt WEP
> Welcome to Scapy (1.2.0.2)
>>>> sniff(offline="/home/lindi/d2")
> Traceback (most recent call last):
> File "<console>", line 1, in <module>
> File "./scapy.py", line 11847, in sniff
> s.close()
> AttributeError: PcapReader instance has no attribute 'close'
>
> You can pull from
>
> http://iki.fi/lindi/hg/scapy/
>
> a patch to remove this call completely but is this the correct fix?
> PcapReader does not seem to have anything resembling close() anymore.