Merge branch 'master' into ptk_2.0

This commit is contained in:
Anthony Scopatz 2018-07-14 18:07:21 -05:00
commit ba2e22f733

View file

@ -36,11 +36,11 @@ def check_news_file(fname):
'must be one of {}'
''.format(name, i+1, cat, list(CATEGORIES)),
pytrace=False)
if l.endswith('None'):
if l.endswith('None'):
form += '3'
else:
form += '2'
elif l.startswith('* ') or l.startswith(' '):
elif l.startswith('* ') or l.startswith('- ') or l.startswith(' '):
form += '1'
elif l.strip() == '':
form += '0'