mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Oopsies
This commit is contained in:
parent
664063a5d0
commit
7467713699
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue