NotAuthorized exception raises in constructor

Bug #792094 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Vish Ishaya

Bug Description

If you attempt to construct a NotAuthorized exception, a TypeError is raised.

vishvananda@i-uswrlzxk:~/trunk$ ./bin/nova-manage sh p
Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56)
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from nova import exception
>>> exception.NotAuthorized()
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/home/vishvananda/trunk/nova/exception.py", line 125, in __init__
    super(NotFound, self).__init__(**kwargs)
TypeError: super(type, obj): obj must be an instance or subtype of type

Related branches

Changed in nova:
status: New → In Progress
assignee: nobody → Vish Ishaya (vishvananda)
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-2
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-2 → 2011.3
status: Fix Committed → 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.