Skip to content

Commit

Permalink
Don't duplicate warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 23, 2024
1 parent e623b2a commit 605e51e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repologyapp/views/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,10 +473,10 @@ def project_report(name: str) -> Response:

if flask.request.method == 'POST':
if reports_disabled:
errors.append('Could not add report: new reports for this metapackage are disabled')
errors.append('new reports for this metapackage are disabled')

if get_db().get_metapackage_reports_count(name) >= config['MAX_REPORTS']:
errors.append('Could not add report: too many reports for this metapackage')
errors.append('too many reports for this metapackage')

need_verignore = 'need_verignore' in flask.request.form
need_split = 'need_split' in flask.request.form
Expand Down

0 comments on commit 605e51e

Please sign in to comment.