This commit is contained in:
Alexandre Aubin 2022-08-15 19:36:37 +02:00
parent 664063a5d0
commit 7467713699

View file

@ -1505,7 +1505,7 @@ class Manifest(TestSuite):
)
return
if "upstream" in self.manifest and self.manifest["upstream"] != self.manifest["license"]:
if "upstream" in self.manifest and "license" in self.manifest["upstream"] and self.manifest["upstream"]["license"] != self.manifest["license"]:
yield Warning("The content of 'license' in the 'upstream' block should be the same as 'license' (yes sorry, this is duplicate info, this is transitional for the manifest v2 ...)")
@test()