Use built-in print() instead of print statement
In python 3 print statement is not supported, so we should use only print() functions. Fixes bug 1226943 Change-Id: I7b2e4d52fe9050f6a67c44e4cc1237a15ea90b23
This commit is contained in:
parent
27d658a57f
commit
765e86e72f
@ -1,3 +1,5 @@
|
|||||||
|
from __future__ import print_function
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
import os
|
import os
|
||||||
|
|
||||||
@ -7,6 +9,6 @@ from cinder import utils
|
|||||||
|
|
||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
print "**Autodocumenting from %s" % os.path.abspath(os.curdir)
|
print("**Autodocumenting from %s" % os.path.abspath(os.curdir))
|
||||||
rv = utils.execute('./doc/generate_autodoc_index.sh')
|
rv = utils.execute('./doc/generate_autodoc_index.sh')
|
||||||
print rv[0]
|
print(rv[0])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user