Ticket #9610: storage.py.2.patch
File storage.py.2.patch, 477 bytes (added by , 16 years ago) |
---|
Line | |
---|---|
1 | 65a66,67 |
2 | > |
3 | > dir_name, file_name = os.path.split(name) |
4 | 68c70 |
5 | < dot_index = name.rindex('.') |
6 | --- |
7 | > dot_index = file_name.rindex('.') |
8 | 70c72 |
9 | < name += '_' |
10 | --- |
11 | > file_name += '_' |
12 | 72c74,75 |
13 | < name = name[:dot_index] + '_' + name[dot_index:] |
14 | --- |
15 | > file_name = file_name[:dot_index] + '_' + file_name[dot_index:] |
16 | > name = os.path.join(dir_name, file_name) |