From 8cbaec66492036dc9b4410142f01f12e705f77de Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Sun, 15 Sep 2013 21:12:27 +0200 Subject: [PATCH] Set value: fix import --- python/helpers/pydev/pydev_console_utils.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python/helpers/pydev/pydev_console_utils.py b/python/helpers/pydev/pydev_console_utils.py index f214f00a3db7..ee62910c034d 100644 --- a/python/helpers/pydev/pydev_console_utils.py +++ b/python/helpers/pydev/pydev_console_utils.py @@ -13,6 +13,11 @@ try: except: import queue as _queue +try: + from pydevd_exec import Exec +except: + from pydevd_exec2 import Exec + try: if USE_LIB_COPY: import _pydev_thread as thread @@ -371,7 +376,4 @@ class BaseInterpreterInterface: return xml def changeVariable(self, attr, value): - try: - Exec('%s=%s' % (attr, value), self.getNamespace(), self.getNamespace()) - except: - pass \ No newline at end of file + Exec('%s=%s' % (attr, value), self.getNamespace(), self.getNamespace()) \ No newline at end of file