Merge remote-tracking branch 'origin/master' into numpy-array-view
[idea/community.git] / python / helpers / pydev / pydevd_vars.py
index 2922dc2fe33fa4181e0d079936362167f2b913c1..1dc9790b40a642cd820366121a73647a2cde43a2 100644 (file)
@@ -360,10 +360,10 @@ def changeAttrExpression(thread_id, frame_id, attr, expression):
     try:
         expression = expression.replace('@LINE@', '\n')
 
-        if isinstance(frame, DjangoTemplateFrame):
-            result = eval(expression, frame.f_globals, frame.f_locals)
-            frame.changeVariable(attr, result)
-            return result
+        # if isinstance(frame, DjangoTemplateFrame): # TODO: implemente for plugins
+            result = eval(expression, frame.f_globals, frame.f_locals)
+            frame.changeVariable(attr, result)
+            return result
 
         if attr[:7] == "Globals":
             attr = attr[8:]