Browse Source

Correction : self.__datas[fieldame] en sel.__datas[fieldname] line 116

prieto 9 years ago
parent
commit
9080d53f2f
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      lodel/leapi/leobject.py

+ 5
- 1
lodel/leapi/leobject.py View File

@@ -113,7 +113,7 @@ class LeObject(object):
113 113
                         AttributeError("Unknown fieldname : '%s'" % fieldname)
114 114
                     )
115 115
             else:
116
-                self.__datas[fieldame] = fieldval
116
+                self.__datas[fieldname] = fieldval
117 117
                 self.__initialized = list()
118 118
         self.set_initialized()
119 119
     
@@ -454,4 +454,8 @@ class LeObject(object):
454 454
 
455 455
         if len(err_l) > 0:
456 456
             raise LeApiDataCheckError("Datas consistency checks fails", err_l)
457
+    
458
+    ## @brief Add a new instance
459
+    def new():
460
+        pass
457 461
 

Loading…
Cancel
Save