mirror of
ssh://devgit.janware.com/janware/proj/jw-python
synced 2026-06-17 13:56:38 +02:00
process-text-files.py: Fix file name matching
For some unbeknown reason, file names were compared case-invariantly before deciding upon renaming them.
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fc5241a2e8
commit
e1974118b5
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ class CmdReplaceCppSymbols(Cmd):
|
||||||
if not trunc.lower() in self.file_truncs:
|
if not trunc.lower() in self.file_truncs:
|
||||||
continue
|
continue
|
||||||
for patt, repl in self.replacements.iteritems():
|
for patt, repl in self.replacements.iteritems():
|
||||||
if patt.lower() == trunc.lower():
|
if patt == trunc:
|
||||||
path = dir + '/' + name
|
path = dir + '/' + name
|
||||||
new_path = dir + '/' + repl + ext
|
new_path = dir + '/' + repl + ext
|
||||||
assert(new_path != path)
|
assert(new_path != path)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue