mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
fixed a minor bug
This commit is contained in:
parent
73f2f44bfa
commit
ecf14e2588
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ def check_news_file(fname):
|
|||
# The file should have:
|
||||
# empty lines around categories
|
||||
# at least one content line in a non null category
|
||||
reg = re.compile(r'^(30|201(1|0)*0)+$')
|
||||
reg = re.compile(r'^(3(0|$)|201(1|0)*0)+$')
|
||||
if not reg.match(form):
|
||||
pytest.fail('{}: invalid rst'.format(name),
|
||||
pytrace=False)
|
||||
|
|
Loading…
Add table
Reference in a new issue