mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
rename_c_identifier: don't crash when doing only one replacement.
This commit is contained in:
parent
cf22841e3b
commit
d9d75d4ae1
@ -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."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user