Conditions | 2 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | # -*- coding: utf-8 -*- |
||
9 | def update_symbols_urls(apps, schema_editor): |
||
10 | Symbol = apps.get_model("crash", "Symbols") |
||
11 | symbols = Symbol.objects.filter(debug_file__contains=' ').iterator() |
||
12 | for symbol in symbols: |
||
13 | head, tail = os.path.split(symbol.file.name) |
||
14 | symbol.file.name = os.path.join(head, '%s.sym' % symbol.debug_file) |
||
15 | symbol.save() |
||
16 | |||
30 |