##// END OF EJS Templates
Take Thomas comments into account
Matthias Bussonnier -
Show More
@@ -1,2 +1,3 b''
1 IPython debugger (IPdb) now supports the number of context lines for the
1 IPython debugger (IPdb) now supports the number of context lines for the
2 ``where`` (and ``w``) commands. The `context` keyword is also available in various APIs.
2 ``where`` (and ``w``) commands. The `context` keyword is also available in various APIs.
3 See PR #9097
@@ -21,11 +21,9 b' INCOMPAT_MARK = ".. DO NOT EDIT THIS LINE BEFORE RELEASE. INCOMPAT INSERTION POI'
21
21
22 # 1. Collect the whatsnew snippet files ---------------------------------------
22 # 1. Collect the whatsnew snippet files ---------------------------------------
23
23
24 files = set()
24 files = set(glob(pjoin(pr_dir, '*.rst')))
25 for f in glob(pjoin(pr_dir, '*.rst')):
26 files.add(f)
27 # Ignore explanatory and example files
25 # Ignore explanatory and example files
28 files.difference_update({pjoin(pr_dir, f) for f in {'README.md',
26 files.difference_update({pjoin(pr_dir, f) for f in {
29 'incompat-switching-to-perl.rst',
27 'incompat-switching-to-perl.rst',
30 'antigravity-feature.rst'}
28 'antigravity-feature.rst'}
31 })
29 })
@@ -42,7 +40,7 b' for path in files:'
42 try:
40 try:
43 content = f.read().rstrip()
41 content = f.read().rstrip()
44 except Exception as e:
42 except Exception as e:
45 raise Exception('Error reading "{}"'.format(f))
43 raise Exception('Error reading "{}"'.format(f)) from e
46
44
47 if basename(path).startswith('incompat-'):
45 if basename(path).startswith('incompat-'):
48 incompats.append(content)
46 incompats.append(content)
General Comments 0
You need to be logged in to leave comments. Login now