diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-15 20:49:34 -0700 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-07-13 16:33:28 +0200 |
commit | 03c3d3f030b9dc20a005a00668ca6aa69cb75de0 (patch) | |
tree | 019c77987920b02e3a06683d3cb37eade25704e8 /grc/core/utils/complexity.py | |
parent | 5f4d39e233e041b8a2f5006439a636a49d6e56ea (diff) |
grc-refactor: Block: remove key getters
Diffstat (limited to 'grc/core/utils/complexity.py')
-rw-r--r-- | grc/core/utils/complexity.py | 2 |
1 files changed, 1 insertions, 1 deletions
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? |