From b42b45f762d4184b7a5df48af6a79a6d1253d9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 11 Sep 2015 23:35:32 -0700 Subject: [PATCH] lint: small cleanup --- fdroidserver/lint.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index ca78ad48..7291a407 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -60,12 +60,9 @@ http_checks = https_enforcings + http_url_shorteners + [ ] regex_checks = { - 'Web Site': http_checks + [ - ], - 'Source Code': http_checks + [ - ], - 'Repo': https_enforcings + [ - ], + 'Web Site': http_checks, + 'Source Code': http_checks, + 'Repo': https_enforcings, 'Issue Tracker': http_checks + [ (re.compile(r'.*github\.com/[^/]+/[^/]+[/]*$'), "/issues is missing"), @@ -74,8 +71,7 @@ regex_checks = { (re.compile(r'.*flattr\.com'), "Flattr donation methods belong in the FlattrID flag"), ], - 'Changelog': http_checks + [ - ], + 'Changelog': http_checks, 'License': [ (re.compile(r'^(|None|Unknown)$'), "No license specified"),