aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/VppApiCrc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/VppApiCrc.py b/resources/libraries/python/VppApiCrc.py
index 94e2690d8b..1fcb91d4b9 100644
--- a/resources/libraries/python/VppApiCrc.py
+++ b/resources/libraries/python/VppApiCrc.py
@@ -197,8 +197,8 @@ class VppApiCrcChecker:
for item in reversed(msg_obj):
if not isinstance(item, dict):
continue
- options = item.get(u"options", None)
- if options is not None:
+ options = item.get(u"options", dict())
+ if not options:
break
if version is None or version.startswith(u"0."):
options[u"version"] = version