From 70e978ec97c9fa102a18fddcc83586e1084290ac Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Thu, 29 Sep 2016 07:35:33 -0400 Subject: [PATCH] changing default ssid to 0 instead of None when initalizing the variable. --- src/apex/plugins/apexparadigm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apex/plugins/apexparadigm/__init__.py b/src/apex/plugins/apexparadigm/__init__.py index 1de3885..18e4c4b 100644 --- a/src/apex/plugins/apexparadigm/__init__.py +++ b/src/apex/plugins/apexparadigm/__init__.py @@ -137,7 +137,7 @@ class ApexParadigmPlugin(object): selected_hop = {} node = None - ssid = None + ssid = 0 for hop_index in reversed(range(0, len(frame['path']))): hop = frame['path'][hop_index] # If this is the last node before a spent node, or a spent node itself, we are done -- GitLab