Skip to content

Commit

Permalink
tcptracer: Fix argparse is not defined error
Browse files Browse the repository at this point in the history
argparse is imported as ap, using argparse explicitly results in a name
not defined error.

Signed-off-by: Gal Pressman <[email protected]>
  • Loading branch information
Gal Pressman committed Feb 5, 2018
1 parent b334f11 commit 1980d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/tcptracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
parser.add_argument("-v", "--verbose", action="store_true",
help="include Network Namespace in the output")
parser.add_argument("--ebpf", action="store_true",
help=argparse.SUPPRESS)
help=ap.SUPPRESS)
args = parser.parse_args()

bpf_text = """
Expand Down

0 comments on commit 1980d63

Please sign in to comment.