svn commit: r1925157 - /subversion/trunk/tools/dist/backport/status.py

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: dsahlberg
Date: Sat Apr 19 22:38:28 2025
New Revision: 1925157

URL: http://svn.apache.org/viewvc?rev=1925157&view=rev
Log:
Don't unset a local variable when we're anyway about to return.

* tools/dist/backport/status.py
  (StatusFile.insert): As above


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=1925157&r1=1925156&r2=1925157&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport/status.py (original)
+++ subversion/trunk/tools/dist/backport/status.py Sat Apr 19 22:38:28 2025
@@ -251,7 +251,6 @@ class StatusFile:
           correct_header = True
         elif correct_header:
           self.paragraphs.insert(i, p)
-          correct_header = False
           return
       i += 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.