Set value: fix import

This commit is contained in:
Dmitry Trofimov
2013-09-15 21:12:27 +02:00
parent 3e86714660
commit 8cbaec6649
+6 -4
View File
@@ -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
Exec('%s=%s' % (attr, value), self.getNamespace(), self.getNamespace())