ObjectFormatterAPI.link raises NotImplemented, should raise NotImplementedError

Bug #368386 reported by Jonathan Lange
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Jonathan Lange

Bug Description

ObjectFormatterAPI.link raises NotImplemented, it should raise NotImplementedError instead.

NotImplemented is supposed to be returned by custom comparison operators that don't know how to compare two objects. NotImplementedError is supposed to be raised by methods that need to be overridden in subclasses. link is one of the latter.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

Looks like it's low importance. Jono or Francis please correct me if it's the wrong importance. Thanks.

affects: launchpad → launchpad-foundations
Changed in launchpad-foundations:
importance: Undecided → Low
status: New → Triaged
tags: added: cleanup trivial
Revision history for this message
Jonathan Lange (jml) wrote :

"Low" is right.

Changed in launchpad-foundations:
assignee: nobody → Jonathan Lange (jml)
status: Triaged → In Progress
Jonathan Lange (jml)
Changed in launchpad-foundations:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.