Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 605e51e

Browse files
committed
Don't duplicate warning
1 parent e623b2a commit 605e51e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repologyapp/views/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,10 @@ def project_report(name: str) -> Response:
473473

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

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

481481
need_verignore = 'need_verignore' in flask.request.form
482482
need_split = 'need_split' in flask.request.form

0 commit comments

Comments
 (0)