Commit 7a093da
Infra: Make PEP abstract extration more robust (#4356)
This eliminates an AttributeError during PEP editing,
if the PEP being edited has an Abstract or Introduction
section but with no interior content (i.e. paragraphs)
yet.
In practice this should have no effect on actual
RSS feeds, since merged PEPs should always have a proper
abstract. However, this prevents a confusing error
from bubbling up during local editing.
See #4355.
Signed-off-by: William Woodruff <william@yossarian.net>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>1 parent 0f41cdf commit 7a093da
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments