File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -473,6 +473,8 @@ def finish_entry():
473
473
474
474
no_changes = metadata .get ('no changes' )
475
475
476
+ lowest_possible_gh_issue_number = 32426
477
+
476
478
issue_keys = {
477
479
'gh-issue' : 'GitHub' ,
478
480
'bpo' : 'bpo' ,
@@ -486,7 +488,7 @@ def finish_entry():
486
488
# we'll complain about the *first* error
487
489
# we see in the blurb file, which is a
488
490
# better user experience.
489
- if key == "gh-issue" and int (value ) < 32426 :
491
+ if key == "gh-issue" and int (value ) < lowest_possible_gh_issue_number :
490
492
throw ("The gh-issue number should be 32426 or above." )
491
493
492
494
if key in issue_keys :
@@ -959,7 +961,7 @@ def init_tmp_with_template():
959
961
failure = str (e )
960
962
961
963
if not failure :
962
- assert len (blurb ) # if parse_blurb succeeds, we should always have a body
964
+ assert len (blurb ) # if parse_blurb succeeds, we should always have a body
963
965
if len (blurb ) > 1 :
964
966
failure = "Too many entries! Don't specify '..' on a line by itself."
965
967
You can’t perform that action at this time.
0 commit comments