Skip to content
Snippets Groups Projects
Commit ee3bfb76 authored by Tomasz Grabiec's avatar Tomasz Grabiec Committed by Pekka Enberg
Browse files

trace: fix recommendation given by error message in case dpkt is missing


Since we adveritse use of a system package in README, we should also
recommend the same here.

Signed-off-by: default avatarTomasz Grabiec <tgrabiec@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 4ac5a1bb
No related branches found
No related tags found
No related merge requests found
......@@ -236,8 +236,7 @@ def needs_dpkt():
try:
import dpkt
except ImportError:
raise Exception("""Cannot import dpkt. If you don't have it installed you can get it from
https://code.google.com/p/dpkt/downloads""")
raise Exception("""Cannot import dpkt. Please install 'python-dpkt' system package.""")
def write_sample_to_pcap(sample, pcap_writer):
ts = sample.time / 1e9
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment