Skip to content

Commit

Permalink
Merge pull request #494 from Xpirix/upload_experimental_plugins
Browse files Browse the repository at this point in the history
Prioritize the experimental flag in the metadata
  • Loading branch information
Xpirix authored Dec 28, 2024
2 parents d6df3ed + 21846c2 commit edd19a8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions qgis-app/plugins/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,6 @@ def clean(self):
package = self.cleaned_data.get("package")
try:
cleaned_data = validator(package)
if (
"experimental" in dict(cleaned_data)
and "experimental" in self.cleaned_data
and dict(cleaned_data)["experimental"]
!= self.cleaned_data["experimental"]
):
msg = _(
"The 'experimental' flag in the form does not match the 'experimental' flag in the plugins package metadata.<br />"
)
raise ValidationError(mark_safe("%s" % msg))
self.cleaned_data.update(cleaned_data)
except ValidationError as e:
msg = _(
Expand Down

0 comments on commit edd19a8

Please sign in to comment.