Browse Source

Bug fix on the migration_handler's register change method

Roland Haroutiounian 8 years ago
parent
commit
77a857be5e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      plugins/mongodb_datasource/migration_handler.py

+ 1
- 1
plugins/mongodb_datasource/migration_handler.py View File

@@ -110,7 +110,7 @@ class MongoDbMigrationHandler(object):
110 110
             component_class_name = 'emfield'
111 111
 
112 112
         if component_class_name:
113
-            handler_func('_'+component_class_name.lower()+'_'+state_change)
113
+            handler_func = '_'+component_class_name.lower()+'_'+state_change
114 114
             if hasattr(self, handler_func):
115 115
                 getattr(self, handler_func)(model, uid, initial_state, new_state)
116 116
         else:

Loading…
Cancel
Save