Author: dsahlberg
Date: Sat Mar 1 19:58:16 2025
New Revision: 1924118
URL: http://svn.apache.org/viewvc?rev=1924118&view=rev
Log:
Followup to r1924117: Remove an outdated TODO
* tools/dist/backport/status.py
(StatusEntry._is_subheader): Remove TODO
Modified:
subversion/trunk/tools/dist/backport/status.py
Modified: subversion/trunk/tools/dist/backport/status.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/tools/dist/backport/status.py?rev=1924118&r1=1924117&r2=1924118&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport/status.py (original)
+++ subversion/trunk/tools/dist/backport/status.py Sat Mar 1 19:58:16 2025
@@ -510,11 +510,6 @@ class StatusEntry:
def _is_subheader(string):
"""Given a single line from an entry, is that line a subheader (such as
"Justification:" or "Notes:")?"""
- # TODO: maybe change the 'subheader' heuristic? Perhaps "line starts with
- # an uppercase letter and ends with a colon".
- #
- # This is currently only used for finding the end of logsummary, and all
- # explicitly special-cased headers (e.g., "Depends:") match this, though.
subheaders = "Justification: Notes: Depends: Branch: Votes:".split()
for subheader in subheaders:
if string.strip().startswith(subheader):