Skip to content

Commit 1ac0235

Browse files
committed
Adjust validation function
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent a6e8b68 commit 1ac0235

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/scripts/generate_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def normalize(cls, purl):
131131
132132
@classmethod
133133
def validate_type(cls, purl, strict=False):
134-
yield
134+
return
135135
136136
@classmethod
137137
def validate_qualifiers(cls, purl):

0 commit comments

Comments
 (0)