relocate_text: fix return value (#48568)
This commit is contained in:
parent
aa88ced154
commit
d72b371c8a
@ -208,7 +208,7 @@ def _apply_to_file(self, f):
|
||||
# but it's nasty to deal with matches across boundaries, so let's stick to
|
||||
# something simple.
|
||||
|
||||
modified = True
|
||||
modified = False
|
||||
|
||||
for match in self.regex.finditer(f.read()):
|
||||
# The matching prefix (old) and its replacement (new)
|
||||
|
Loading…
Reference in New Issue
Block a user