yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52819
[Bug 1595773] Re: Make print py3 compatible
Reviewed: https://review.openstack.org/333669
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a0f5a56a150f82ddd90178f487cb9a398bed8ea3
Submitter: Jenkins
Branch: master
commit a0f5a56a150f82ddd90178f487cb9a398bed8ea3
Author: liangjingtao <liang.jingtao@xxxxxxxxxx>
Date: Fri Jun 24 11:23:16 2016 +0800
Make print py3 compatible
In PY3,remove the print "", join the print () function to achieve
the same function,this patch is to fix it.
Change-Id: Ie860e912b0c7101fd9d1d5c8373db8688f99122c
Closes-Bug: #1595773
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1595773
Title:
Make print py3 compatible
Status in Fuel Plugins:
In Progress
Status in glance_store:
New
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Object Storage (swift):
In Progress
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'
To manage notifications about this bug go to:
https://bugs.launchpad.net/fuel-plugins/+bug/1595773/+subscriptions
References