Py3 do not support "exception, e" ,we should correct it with "exception as e".
Bug #1596131 reported by
jingtao liang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
use py3 run the test:
try:
a > 1
except Exception, e:
print (e)
SyntaxError: invalid syntax
Changed in nova: | |
assignee: | nobody → jingtao liang (liang-jingtao) |
description: | updated |
tags: | added: python3 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/334134
Review: https:/