← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532086] Re: Use print('value') instead of print 'value' in python3

 

** Also affects: bandit
   Importance: Undecided
       Status: New

-- 
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):
  New
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