Ticket #9610: storage.py.patch
File storage.py.patch, 478 bytes (added by , 16 years ago) |
---|
Line | |
---|---|
1 | 67d66 |
2 | < dir_name, file_name = os.path.split(name) |
3 | 69c68 |
4 | < dot_index = file_name.rindex('.') |
5 | --- |
6 | > dot_index = name.rindex('.') |
7 | 71c70 |
8 | < file_name += '_' |
9 | --- |
10 | > name += '_' |
11 | 73,74c72 |
12 | < file_name = file_name[:dot_index] + '_' + file_name[dot_index:] |
13 | < name = os.path.join(dir_name, file_name) |
14 | --- |
15 | > name = name[:dot_index] + '_' + name[dot_index:] |