Don't worry with type changes, just compare strings (#52827)

pull/42543/head
Matt Martz 6 years ago committed by GitHub
parent f6c2104d79
commit df5b8f65ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1098,7 +1098,7 @@ class ModuleValidator(Validator):
)
return
if existing_doc and version_added_raw != existing_doc.get('version_added'):
if existing_doc and str(version_added_raw) != str(existing_doc.get('version_added')):
self.reporter.error(
path=self.object_path,
code=307,

Loading…
Cancel
Save