Android S Preview 1
net-test: bpf_test - use proper except type

As Lorenzo helpfully pointed out:
  You can just make this be "except socket.error" and get rid of
  the pylint comment.
...
  No need to guess, just look at the implementation of LookupMap.
  It bottoms out at BpfSyscall, which calls MaybeRaiseSocketError,
  which raises socket.error.

Test: gpylint2 bpf.py bpf_test.py
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic6cc0eb794349f09143e23fa14a240b89b9e3010
1 file changed
tree: cca98857a0dee6694371e16d0e9254e7a5eb5146
  1. devicetree/
  2. net/
  3. Android.bp
  4. METADATA