Browse Source

Fix bad argument in DummyDatasource

Yann Weber 9 years ago
parent
commit
f5e79bbac1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      leobject/datasources/dummy.py

+ 1
- 1
leobject/datasources/dummy.py View File

27
     # @param leclass LeClass : LeClass child class
27
     # @param leclass LeClass : LeClass child class
28
     # @param data list: a lis of dictionnary of field:value to save
28
     # @param data list: a lis of dictionnary of field:value to save
29
     # @return lodel_id int: new lodel_id of the newly created LeObject
29
     # @return lodel_id int: new lodel_id of the newly created LeObject
30
-    def insert(self, letype, leclass, **datas):
30
+    def insert(self, letype, leclass, datas):
31
         print("DummyDatasource.insert: ", letype, leclass, datas)
31
         print("DummyDatasource.insert: ", letype, leclass, datas)
32
         return 42
32
         return 42
33
 
33
 

Loading…
Cancel
Save