Ticket #16 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

bug (superfluous explicit self argument) in call to syntax_error method

Reported by: guest Assigned to: somebody
Priority: high Milestone:
Component: airspeed Version:
Severity: blocker Keywords:
Cc:

Description

Please remove explicit self argument as shown in the patch below.

Regards -- Zoran Isailovski

  • airspeed.py

    old new  
    223223                    self.end = element.end 
    224224                    return element 
    225225            expected = ', '.join([cls.__name__ for cls in element_spec]) 
    226             raise self.syntax_error(self, 'one of: ' + expected) 
     226            raise self.syntax_error('one of: ' + expected) 
    227227 
    228228 
    229229class Text(_Element): 

Change History

06/09/06 09:25:29 changed by steve

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in [57]. Thanks for the report, Zoran. -Steve