tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit d9d75d4ae148be91b0d6520c7addf4a1a484393a
parent cf22841e3bf45a8b73900dd480022f1722d3b557
Author: Nick Mathewson <nickm@torproject.org>
Date:   Sat, 23 Nov 2019 15:30:18 -0500

rename_c_identifier: don't crash when doing only one replacement.

Diffstat:
Mscripts/maint/rename_c_identifier.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/maint/rename_c_identifier.py b/scripts/maint/rename_c_identifier.py @@ -132,7 +132,7 @@ def make_commit_msg(pairs, no_verify): script = " \\\n".join(script) if len(pairs) == 1: - line1 = "Rename {} to {}".format(pairs[0]) + line1 = "Rename {} to {}".format(*pairs[0]) else: line1 = "Replace several C identifiers."