From 03c3d3f030b9dc20a005a00668ca6aa69cb75de0 Mon Sep 17 00:00:00 2001 From: Sebastian Koslowski <koslowski@kit.edu> Date: Wed, 15 Jun 2016 20:49:34 -0700 Subject: grc-refactor: Block: remove key getters --- grc/core/utils/complexity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/core/utils/complexity.py') diff --git a/grc/core/utils/complexity.py b/grc/core/utils/complexity.py index d72db9b3dd..6864603a0a 100644 --- a/grc/core/utils/complexity.py +++ b/grc/core/utils/complexity.py @@ -4,7 +4,7 @@ def calculate_flowgraph_complexity(flowgraph): dbal = 0 for block in flowgraph.blocks: # Skip options block - if block.get_key() == 'options': + if block.key == 'options': continue # Don't worry about optional sinks? -- cgit v1.2.3