Browse Source

Add convenience migrate method

pull/6/head
Marcio Mazza 10 years ago
parent
commit
de55b23eba
  1. 5
      legacy/migration.py

5
legacy/migration.py

@ -226,6 +226,11 @@ class DataMigrator(object):
self.to_delete.append(new)
def migrate(obj=appconfs):
dm = DataMigrator()
dm.migrate(obj)
# MIGRATION_ADJUSTMENTS #####################################################
def adjust_participacao(new_participacao, old):

Loading…
Cancel
Save