diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-11-23 15:30:18 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-11-23 15:30:18 -0500 |
commit | d9d75d4ae148be91b0d6520c7addf4a1a484393a (patch) | |
tree | 06ea2b0a3180dcb3d1f8b829b2dae6a8ea350710 /scripts/maint | |
parent | cf22841e3bf45a8b73900dd480022f1722d3b557 (diff) | |
download | tor-d9d75d4ae148be91b0d6520c7addf4a1a484393a.tar.gz tor-d9d75d4ae148be91b0d6520c7addf4a1a484393a.zip |
rename_c_identifier: don't crash when doing only one replacement.
Diffstat (limited to 'scripts/maint')
-rwxr-xr-x | scripts/maint/rename_c_identifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maint/rename_c_identifier.py b/scripts/maint/rename_c_identifier.py index e8cdb895a2..213172d913 100755 --- 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." |