summaryrefslogtreecommitdiff
path: root/grc/gui/VariableEditor.py
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2020-10-12 16:35:17 -0400
committerSebastian Koslowski <sebastian.koslowski@gmail.com>2020-10-20 15:16:48 +0200
commitff22625e3b7f745f7398a2c58cb36f7f4f138453 (patch)
tree7b34c8d555e352283dd5a35a0baf26e31ba71072 /grc/gui/VariableEditor.py
parent272d38407f0a7460b0e3958a8dfeb71dfb342b3e (diff)
grc: fix pylint C0326: wrong number of spaces
Diffstat (limited to 'grc/gui/VariableEditor.py')
-rw-r--r--grc/gui/VariableEditor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/VariableEditor.py b/grc/gui/VariableEditor.py
index 611b096e52..b243829197 100644
--- a/grc/gui/VariableEditor.py
+++ b/grc/gui/VariableEditor.py
@@ -181,13 +181,13 @@ class VariableEditor(Gtk.VBox):
# Evaluate and show the value (if it is a variable)
if block.is_variable:
# Evaluate the params
- for key in block.params :
+ for key in block.params:
evaluated = str(block.params[key].evaluate())
self.set_tooltip_text(evaluated)
# Evaluate the block value
try:
- evaluated = str( eval(block.value,block.parent.namespace,block.namespace))
+ evaluated = str(eval(block.value, block.parent.namespace, block.namespace))
self.set_tooltip_text(evaluated)
except Exception as error:
self.set_tooltip_text(str(error))