StandardError raises NameError in Python3

Bug #1595830 reported by yuyafei on 2016-06-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned
daisycloud-core
Undecided
Ji.Wei

Bug Description

It raises NameError: name 'StandardError' is not defined in Python3.

class TimeoutError(StandardError):
    pass

Traceback (most recent call last):
  File "Z:/test_py3.py", line 1, in <module>
    class TimeoutError(StandardError):
NameError: name 'StandardError' is not defined

yuyafei (yu-yafei) on 2016-06-24
Changed in nova:
assignee: nobody → Bin Zhou (binzhou)

Fix proposed to branch: master
Review: https://review.openstack.org/333802

Changed in nova:
status: New → In Progress
Ji.Wei (jiwei) on 2016-06-29
Changed in daisycloud-core:
assignee: nobody → Ji.Wei (jiwei)
tags: added: python3

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/333802
Reason: This review is > 6 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing
the status back to the previous state and unassigning. If
there are active reviews related to this bug, please include
links in comments.

Changed in nova:
status: In Progress → New
assignee: Bin Zhou (binzhou) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers