diff --git a/doc/conf.py b/doc/conf.py index 9606067f..91da1f1b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -21,7 +21,7 @@ # Read package version without importing it for line in open(os.path.join(os.path.dirname(os.path.abspath('.')), "tarantool", "__init__.py")): if line.startswith("__version__"): - exec line + exec(line) break # -- General configuration ----------------------------------------------------- diff --git a/test/cluster-py/multi.test.py b/test/cluster-py/multi.test.py index 9cc42413..0db520b0 100644 --- a/test/cluster-py/multi.test.py +++ b/test/cluster-py/multi.test.py @@ -18,11 +18,11 @@ def check_connection(con): try: s = con.space('test') - print s.select() + print(s.select()) except NetworkError: - print 'NetworkError !' + print('NetworkError !') except Exception as e: - print e + print(e) # Start instances