summaryrefslogtreecommitdiff
path: root/grc/core/utils/complexity.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/utils/complexity.py')
-rw-r--r--grc/core/utils/complexity.py2
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?