From d1c6180d778d77d183a1a5da0a923a4e2c068f75 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Tue, 24 Nov 2015 14:00:34 +0300 Subject: [PATCH] removed deprecated call to exc_traceback --- python/helpers/packaging_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/helpers/packaging_tool.py b/python/helpers/packaging_tool.py index 58b60a342859..2dbcdf0cbb93 100644 --- a/python/helpers/packaging_tool.py +++ b/python/helpers/packaging_tool.py @@ -33,7 +33,7 @@ def error(message, retcode): def error_no_pip(): - tb = sys.exc_traceback + type, value, tb = sys.exc_info() if tb is not None and tb.tb_next is None: error("Python packaging tool 'pip' not found", ERROR_NO_PIP) else: