diff options
author | David Goulet <dgoulet@torproject.org> | 2021-10-25 10:43:33 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-10-25 10:43:33 -0400 |
commit | 5aa7bd43080ffeb020944b2c0b1bc184c44f860b (patch) | |
tree | e174cc8c87f69c3d837780ab95ea8b640a67a4fc /scripts | |
parent | c0c34004993daebb4403bf095e2c853fc375b79a (diff) | |
download | tor-5aa7bd43080ffeb020944b2c0b1bc184c44f860b.tar.gz tor-5aa7bd43080ffeb020944b2c0b1bc184c44f860b.zip |
changelog: Changelog for 0.3.5.17
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/sortChanges.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/maint/sortChanges.py b/scripts/maint/sortChanges.py index 986b94b025..2264b1c7fa 100755 --- a/scripts/maint/sortChanges.py +++ b/scripts/maint/sortChanges.py @@ -43,7 +43,7 @@ REPLACEMENTS = { def score(s,fname=None): m = re.match(r'^ +o ([^\n]*)\n(.*)', s, re.M|re.S) if not m: - print >>sys.stderr, "Can't score %r from %s"%(s,fname) + print("Can't score %r from %s"%(s,fname)) heading = m.group(1) heading = REPLACEMENTS.get(heading, heading) lw = m.group(1).lower() @@ -100,9 +100,9 @@ changes.sort() last_lw = "this is not a header" for _, lw, header, rest in changes: if lw == last_lw: - print rest, + print(rest) else: - print - print " o",header - print rest, + print("") + print(" o %s" % (header)) + print(rest), last_lw = lw |