yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45380
[Bug 1532086] Re: Use print('value') instead of print 'value' in python3
** Changed in: bandit
Status: New => Invalid
--
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:
Invalid
Status in congress:
New
Status in Murano:
Confirmed
Status in OpenStack Compute (nova):
Won't Fix
Status in Trove:
Invalid
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