73 |
make_translation_service(cp) |
make_translation_service(cp) |
74 |
pkg.translation_service = getattr(cp, cp_id) |
pkg.translation_service = getattr(cp, cp_id) |
75 |
|
|
76 |
# don't touch - this is the last version |
# don't touch - this is the last version |
77 |
# that didn't have the attribute (0.4) |
# that didn't have the attribute (0.4) |
78 |
instance_version = getattr(translation_service, '_instance_version', (0, 4, 0, 0)) |
instance_version = getattr(translation_service, '_instance_version', (0, 4, 0, 0)) |
79 |
if instance_version < PlacelessTranslationService._class_version: |
if instance_version < PlacelessTranslationService._class_version: |
80 |
log('outdated translation service found, recreating', |
log('outdated translation service found, recreating', |