← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339855] [NEW] Raise NotImplementedError instead of NotImplemented

 

Public bug reported:

NotImplementedError is the name of the exception
(https://docs.python.org/2/library/exceptions.html).

NotImplemented is the name of a constant
(https://docs.python.org/2/library/constants.html).

It makes no sense to raise a constant. The exception should be raised
instead.

** Affects: fuel
     Importance: Undecided
         Status: New

** Affects: neutron
     Importance: Undecided
     Assignee: Christian Berendt (berendt)
         Status: In Progress

** Affects: warm
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1339855

Title:
  Raise NotImplementedError instead of NotImplemented

Status in Fuel: OpenStack installer that works:
  New
Status in OpenStack Neutron (virtual network service):
  In Progress
Status in Warm:
  New

Bug description:
  NotImplementedError is the name of the exception
  (https://docs.python.org/2/library/exceptions.html).

  NotImplemented is the name of a constant
  (https://docs.python.org/2/library/constants.html).

  It makes no sense to raise a constant. The exception should be raised
  instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/fuel/+bug/1339855/+subscriptions


Follow ups

References