aboutsummaryrefslogtreecommitdiffstats
path: root/extras/packetforge/ParseGraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'extras/packetforge/ParseGraph.py')
-rw-r--r--extras/packetforge/ParseGraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/packetforge/ParseGraph.py b/extras/packetforge/ParseGraph.py
index 188b0732ff6..31fc3039fed 100644
--- a/extras/packetforge/ParseGraph.py
+++ b/extras/packetforge/ParseGraph.py
@@ -91,7 +91,7 @@ class ParseGraph:
return None
def GetNode(self, name):
- if self.nodeDict.has_key(name):
+ if name in self.nodeDict:
return self.nodeDict[name]
return None