mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
Merge branch 'master' into ptk_2.0
This commit is contained in:
commit
ba2e22f733
1 changed files with 2 additions and 2 deletions
|
@ -36,11 +36,11 @@ def check_news_file(fname):
|
||||||
'must be one of {}'
|
'must be one of {}'
|
||||||
''.format(name, i+1, cat, list(CATEGORIES)),
|
''.format(name, i+1, cat, list(CATEGORIES)),
|
||||||
pytrace=False)
|
pytrace=False)
|
||||||
if l.endswith('None'):
|
if l.endswith('None'):
|
||||||
form += '3'
|
form += '3'
|
||||||
else:
|
else:
|
||||||
form += '2'
|
form += '2'
|
||||||
elif l.startswith('* ') or l.startswith(' '):
|
elif l.startswith('* ') or l.startswith('- ') or l.startswith(' '):
|
||||||
form += '1'
|
form += '1'
|
||||||
elif l.strip() == '':
|
elif l.strip() == '':
|
||||||
form += '0'
|
form += '0'
|
||||||
|
|
Loading…
Add table
Reference in a new issue