Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7996 closed defect (fixed)

scapy-based test example code has wrong example

Reported by: arma Owned by: hellais
Priority: Medium Milestone:
Component: Archived/Ooni Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


On (I think it was) there is some sample code using twisted.defer.inlineCallbacks() which calls

optParameters = [['target', 't', self.localOptions['target'], "Specify the target to ping"]]

Arturo thought part of this line was wrong -- self.localOptions should either be or None.

Child Tickets

Change History (2)

comment:1 Changed 8 years ago by hellais

Resolution: fixed
Status: newclosed

Thanks for reporting this!


comment:2 Changed 8 years ago by ioerror

Seems reasonable. I've merged the fix.

Note: See TracTickets for help on using tickets.