Use print('value') instead of print 'value' in python3
Bug #1532086 reported by
sandeep nandal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bandit |
Invalid
|
Undecided
|
Unassigned | ||
Murano |
Invalid
|
Low
|
Unassigned | ||
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Zhihai Song | ||
OpenStack DBaaS (Trove) |
Invalid
|
Undecided
|
Gábor Antal | ||
congress |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Do not use print 'some string' in python3, python3 will complain.
Use print('some string') instead, because that will work on both python2 n python3.
It will help in adding support for python3.
Example:-
File : nova/tools/
Line : 166
print "%s, finished in %.2f secs" % (result, duration)
description: | updated |
Changed in nova: | |
assignee: | nobody → Zhihai Song (szhsong) |
status: | New → Invalid |
status: | Invalid → Won't Fix |
no longer affects: | sahara |
Changed in murano: | |
status: | New → Confirmed |
importance: | Undecided → Low |
milestone: | none → mitaka-3 |
Changed in trove: | |
assignee: | nobody → Gábor Antal (gabor.antal) |
Changed in trove: | |
status: | New → Invalid |
Changed in bandit: | |
status: | New → Invalid |
Changed in murano: | |
status: | Confirmed → Invalid |
Changed in congress: | |
status: | New → Invalid |
To post a comment you must log in.
Hi Zhihai Song,
could you share the reason for the bug Won't Fix?