Fixup extcap_example.py
authorGerald Combs <gerald@wireshark.org>
Wed, 4 Apr 2018 18:56:06 +0000 (11:56 -0700)
committerGerald Combs <gerald@wireshark.org>
Wed, 4 Apr 2018 23:22:52 +0000 (23:22 +0000)
commita63542fe33541d1aa5eedd1eea4e986ffb0d4101
treeae767086f9b825f973131872111d6f1224f79358
parent57fed5d17fa22340fde76cabe2b5340ad48a1989
Fixup extcap_example.py

Run 2to3. Convert our payload to bytes. Switch from tab to 4-space
indentation as described in PEP8, which fixes a "TabError" message.

Change-Id: Ic20b6bc1fc1a945758c8be1bb54435f3326fb605
Reviewed-on: https://code.wireshark.org/review/26744
Reviewed-by: Gerald Combs <gerald@wireshark.org>
doc/extcap_example.py