File tree Expand file tree Collapse file tree 11 files changed +14
-0
lines changed Expand file tree Collapse file tree 11 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ def run_checker(self, filename):
57
57
vendor , result = self .find_vendor_from_purl (purl , version )
58
58
if not result :
59
59
vendor = self .find_vendor (product , version )
60
+
61
+ vendor = self .mismatch (purl , vendor )
60
62
if vendor :
61
63
yield from vendor
62
64
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ def run_checker(self, filename):
79
79
80
80
if not result :
81
81
vendors = self .find_vendor (product , version )
82
+ vendors = self .mismatch (purl , vendors )
82
83
if vendors is not None :
83
84
yield from vendors
84
85
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ def run_checker(self, filename):
105
105
product_info , result = self .find_vendor_from_purl (purl , version )
106
106
if not result :
107
107
product_info = self .find_vendor (product , version )
108
+ product_info = self .mismatch (purl , product_info )
108
109
if product_info is not None :
109
110
yield from product_info
110
111
@@ -145,6 +146,7 @@ def run_checker(self, filename):
145
146
product_info = self .find_vendor (
146
147
product .text , version
147
148
)
149
+ product_info = self .mismatch (purl , product_info )
148
150
if product_info is not None :
149
151
yield from product_info
150
152
self .logger .debug (f"Done scanning file: { filename } " )
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ def run_checker(self, filename):
52
52
53
53
if not result :
54
54
vendor = self .find_vendor (product , version )
55
+ vendor = self .mismatch (purl , vendor )
55
56
else :
56
57
vendor = None
57
58
if vendor is not None :
@@ -105,6 +106,7 @@ def run_checker(self, filename):
105
106
106
107
if not result :
107
108
vendor = self .find_vendor (product , version )
109
+ vendor = self .mismatch (purl , vendor )
108
110
if vendor is not None :
109
111
yield from vendor
110
112
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ def run_checker(self, filename):
63
63
64
64
if not result :
65
65
vendor = self .find_vendor (product , version )
66
+ vendor = self .mismatch (purl , vendor )
66
67
if vendor is not None :
67
68
yield from vendor
68
69
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ def run_checker(self, filename):
62
62
63
63
if not result :
64
64
vendor = self .find_vendor (product , version )
65
+ vendor = self .mismatch (purl , vendor )
65
66
if vendor is not None :
66
67
yield from vendor
67
68
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ def run_checker(self, filename):
162
162
if not result :
163
163
vendor = self .find_vendor (product , version )
164
164
165
+ vendor = self .mismatch (purl , vendor )
165
166
if vendor is not None :
166
167
yield from vendor
167
168
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ def run_checker(self, filename):
66
66
if not result :
67
67
vendor = self .find_vendor (product , version )
68
68
69
+ vendor = self .mismatch (purl , vendor )
69
70
if vendor is not None :
70
71
yield from vendor
71
72
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ def run_checker(self, filename):
77
77
78
78
if not result :
79
79
vendors = self .find_vendor (product , version )
80
+ vendors = self .mismatch (purl , vendors )
80
81
if vendors is not None :
81
82
yield from vendors
82
83
self .logger .debug (f"Done scanning file: { self .filename } " )
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ def run_checker(self, filename):
71
71
if not result :
72
72
vendors = self .find_vendor (product , version )
73
73
74
+ vendors = self .mismatch (purl , vendors )
74
75
if vendors is not None :
75
76
yield from vendors
76
77
product = ""
You can’t perform that action at this time.
0 commit comments