summaryrefslogtreecommitdiff
path: root/grc/gui/Block.py
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2016-10-14 14:21:07 -0400
committerBen Hilburn <ben.hilburn@ettus.com>2016-10-17 17:07:23 -0400
commitbc4e0b3ba71250d92a7f45a036bcae7f5589e1a6 (patch)
treee2c7aee9699b8d87b5d9ee3b6d04ed7321e48484 /grc/gui/Block.py
parent1624da7772f1ff57232e2f2024281547d483629c (diff)
Backport GRC Python code for Python-2.6.6+
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r--grc/gui/Block.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py
index 55c8805fae..b9fc12b782 100644
--- a/grc/gui/Block.py
+++ b/grc/gui/Block.py
@@ -274,7 +274,7 @@ class Block(Element, _Block):
# Show the flowgraph complexity on the top block if enabled
if Actions.TOGGLE_SHOW_FLOWGRAPH_COMPLEXITY.get_active() and self.get_key() == "options":
complexity = calculate_flowgraph_complexity(self.get_parent())
- complexity = "Complexity: {}bal".format(num_to_str(complexity))
+ complexity = "Complexity: {0}bal".format(num_to_str(complexity))
layout = gtk.DrawingArea().create_pango_layout('')
layout.set_markup(Utils.parse_template(COMMENT_COMPLEXITY_MARKUP_TMPL,