Skip to content

Commit 46c565b

Browse files
committed
make exec call compatible with Python 3
1 parent 9805b70 commit 46c565b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# Read package version without importing it
2222
for line in open(os.path.join(os.path.dirname(os.path.abspath('.')), "tarantool", "__init__.py")):
2323
if line.startswith("__version__"):
24-
exec line
24+
exec(line)
2525
break
2626

2727
# -- General configuration -----------------------------------------------------

0 commit comments

Comments
 (0)