tools/mpp: remove elif after return
Pylint will complain otherwise.
This commit is contained in:
parent
1202085883
commit
3b7320d114
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ class ManifestFile:
|
|||
version = int(data.get("version", "1"))
|
||||
if version == 1:
|
||||
return ManifestFileV1(path, data)
|
||||
elif version == 2:
|
||||
if version == 2:
|
||||
return ManifestFileV2(path, data)
|
||||
raise ValueError(f"Unknown manfest version {version}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue