Make print py3 compatible
Bug #1595773 reported by
Ji.Wei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
In Progress
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
jingtao liang | ||
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
YaoZheng_ZTE | ||
daisycloud-core |
New
|
Undecided
|
Unassigned |
Bug Description
In PY3,
Remove the print "", join the print () function to achieve the same function.
Python 3:
#!/usr/bin/python
# -*- coding: utf-8 -*-
print ("cinder")
print "cinder"
File "code", line 5
print "cinder"
^
SyntaxError: Missing parentheses in call to 'print'
Changed in cinder: | |
assignee: | nobody → Ji.Wei (jiwei) |
Changed in nova: | |
assignee: | nobody → Ji.Wei (jiwei) |
Changed in python-cinderclient: | |
assignee: | nobody → Ji.Wei (jiwei) |
Changed in glance: | |
assignee: | nobody → YaoZheng_ZTE (zheng-yao1) |
Changed in glance-store: | |
assignee: | nobody → YaoZheng_ZTE (zheng-yao1) |
Changed in tempest: | |
status: | New → Invalid |
Changed in glance: | |
status: | New → Invalid |
no longer affects: | neutron |
no longer affects: | tempest |
Changed in rally: | |
assignee: | nobody → Ji.Wei (jiwei) |
Changed in nova: | |
assignee: | Ji.Wei (jiwei) → nobody |
Changed in nova: | |
assignee: | nobody → jingtao liang (liang-jingtao) |
Changed in nova: | |
status: | New → In Progress |
Changed in swift-swf: | |
assignee: | nobody → jingtao liang (liang-jingtao) |
Changed in swift-swf: | |
assignee: | jingtao liang (liang-jingtao) → nobody |
no longer affects: | glance |
Changed in swift-swf: | |
assignee: | nobody → YaoZheng_ZTE (zheng-yao1) |
no longer affects: | keystone |
Changed in fuel-plugins: | |
assignee: | nobody → Ji.Wei (jiwei) |
no longer affects: | cinder |
affects: | swift-swf → swift |
Changed in swift: | |
status: | New → In Progress |
no longer affects: | rally |
no longer affects: | python-cinderclient |
Changed in fuel-plugins: | |
status: | New → In Progress |
Changed in daisycloud-core: | |
assignee: | nobody → Ji.Wei (jiwei) |
no longer affects: | glance-store |
Changed in daisycloud-core: | |
assignee: | Ji.Wei (jiwei) → nobody |
Changed in fuel-plugins: | |
assignee: | Ji.Wei (jiwei) → nobody |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/333669
Review: https:/