Commit ab117474 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

don't add boolean value as string to dlyerr2errpat commandline

parent 679f4bcf
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -126,11 +126,11 @@ def dlyerr_2_errpat(
    if late_loss_rate is not None:
        cmd.extend(["-l", str(late_loss_rate)])
    if flag_byte is not None:
        cmd.extend(["-b", str(flag_byte)])
        cmd.extend(["-b"])
    if flag_word is not None:
        cmd.extend(["-w", str(flag_word)])
        cmd.extend(["-w"])
    if flag_lf is not None:
        cmd.extend(["-c", str(flag_lf)])
        cmd.extend(["-c"])
    if delay is not None:
        cmd.extend(["-d", str(delay)])