mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Warn about incorrect bulleted lists
This commit is contained in:
parent
c9d8146f9e
commit
e7b863ad20
@ -90,6 +90,8 @@ def main():
|
||||
# Description size limit
|
||||
desc_chars = 0
|
||||
for line in app['Description']:
|
||||
if re.match(r'[ ]*\*[^ ]', line):
|
||||
warn("Invalid bulleted list: '%s'" % line)
|
||||
desc_chars += len(line)
|
||||
if desc_chars > config['char_limits']['Description']:
|
||||
warn("Description of length %s is over the %i char limit" % (
|
||||
@ -117,7 +119,6 @@ def main():
|
||||
if build['commit'].startswith(n):
|
||||
warn("Branch '%s' used as commit" % n)
|
||||
|
||||
|
||||
if not appid:
|
||||
print
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user