Fix requested changes

This commit is contained in:
manasghandat
2023-03-28 22:11:37 +05:30
parent 3f2e698684
commit 4990f7a2c8
3 changed files with 239 additions and 891 deletions
+1
View File
@@ -595,6 +595,7 @@ def feature_from_pb2(f: capa_pb2.FeatureNode) -> frzf.Feature:
elif type_ == "import_":
ff = f.import_
return frzf.ImportFeature(import_=ff.import_, description=ff.description or None) # type: ignore
# Mypy is unable to recognize `import_` as an argument
elif type_ == "section":
ff = f.section
return frzf.SectionFeature(section=ff.section, description=ff.description or None)
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff