Browse Source

fixed a method call in the migration handler

Roland Haroutiounian 8 years ago
parent
commit
46732d6ce0
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

@@ -141,7 +141,7 @@ class MongoDbMigrationHandler(object):
141 141
     ## @brief deletes a collection corresponding to a given uid
142 142
     # @see register_change()
143 143
     def _emclass_delete(self, model, uid, initial_state, new_state):
144
-        if uid not in self.init_collections_names():
144
+        if uid not in self.init_collections_names:
145 145
             collection_name = object_collection_name(model.classes(uid))
146 146
             self._delete_collection(collection_name)
147 147
 

Loading…
Cancel
Save