Public bug reported:

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'

** Affects: cinder
     Importance: Undecided
     Assignee: Ji.Wei (jiwei)
         Status: New

** Affects: glance
     Importance: Undecided
     Assignee: YaoZheng_ZTE (zheng-yao1)
         Status: Invalid

** Affects: glance-store
     Importance: Undecided
     Assignee: YaoZheng_ZTE (zheng-yao1)
         Status: New

** Affects: keystone
     Importance: Undecided
         Status: New

** Affects: nova
     Importance: Undecided
         Status: New

** Affects: python-cinderclient
     Importance: Undecided
     Assignee: Ji.Wei (jiwei)
         Status: New

** Affects: rally
     Importance: Undecided
     Assignee: Ji.Wei (jiwei)
         Status: New

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

** Changed in: cinder
     Assignee: (unassigned) => Ji.Wei (jiwei)

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

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

** Also affects: python-cinderclient
   Importance: Undecided
       Status: New

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

** Also affects: glance-store
   Importance: Undecided
       Status: New

** Changed in: nova
     Assignee: (unassigned) => Ji.Wei (jiwei)

** Changed in: python-cinderclient
     Assignee: (unassigned) => Ji.Wei (jiwei)

-- 
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 Cinder:
  New
Status in Glance:
  Invalid
Status in glance_store:
  New
Status in OpenStack Identity (keystone):
  New
Status in OpenStack Compute (nova):
  New
Status in python-cinderclient:
  New
Status in Rally:
  New

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/cinder/+bug/1595773/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to