yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44270
[Bug 1532086] Re: Use print('value') instead of print 'value' in python3
** Changed in: nova
Assignee: (unassigned) => Zhihai Song (szhsong)
** Changed in: nova
Status: New => Invalid
** Changed in: nova
Status: Invalid => Won't Fix
--
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/1532086
Title:
Use print('value') instead of print 'value' in python3
Status in Bandit:
New
Status in congress:
New
Status in Murano:
New
Status in OpenStack Compute (nova):
Won't Fix
Status in Sahara:
New
Status in Trove:
New
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/xenserver/stress_test.py
Line : 166
print "%s, finished in %.2f secs" % (result, duration)
To manage notifications about this bug go to:
https://bugs.launchpad.net/bandit/+bug/1532086/+subscriptions
References