Browse Source

Fix on the arguments of the check_field_in_collection method of the migration handler (extra empty argument passed on a call)

Roland Haroutiounian 9 years ago
parent
commit
0811de96cb
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

126
     def _emfield_upgrade(self, model, uid, initial_state, new_state):
126
     def _emfield_upgrade(self, model, uid, initial_state, new_state):
127
         collection_name = self._class_collection_name_from_field(model, initial_state)
127
         collection_name = self._class_collection_name_from_field(model, initial_state)
128
         field_name = model.field(uid).name
128
         field_name = model.field(uid).name
129
-        self._check_field_in_collection(collection_name, field_name, , initial_state, new_state)
129
+        self._check_field_in_collection(collection_name, field_name, initial_state, new_state)
130
 
130
 
131
     def _check_field_in_collection(self,collection_name, field_name, initial_sate, new_state):
131
     def _check_field_in_collection(self,collection_name, field_name, initial_sate, new_state):
132
         collection = self.database[collection_name]
132
         collection = self.database[collection_name]

Loading…
Cancel
Save