瀏覽代碼

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

Roland Haroutiounian 8 年之前
父節點
當前提交
0811de96cb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      plugins/mongodb_datasource/migration_handler.py

+ 1
- 1
plugins/mongodb_datasource/migration_handler.py 查看文件

@@ -126,7 +126,7 @@ class MongoDbMigrationHandler(object):
126 126
     def _emfield_upgrade(self, model, uid, initial_state, new_state):
127 127
         collection_name = self._class_collection_name_from_field(model, initial_state)
128 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 131
     def _check_field_in_collection(self,collection_name, field_name, initial_sate, new_state):
132 132
         collection = self.database[collection_name]

Loading…
取消
儲存