Browse Source

Fixed the init of Field_Data_Handler

Roland Haroutiounian 9 years ago
parent
commit
4ba90eabfe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel/leapi/datahandlers/field_data_handler.py

+ 1
- 1
lodel/leapi/datahandlers/field_data_handler.py View File

15
     # @param **args
15
     # @param **args
16
     # @throw NotImplementedError if it is instanciated directly
16
     # @throw NotImplementedError if it is instanciated directly
17
     def __init__(self, internal=False, immutable=False, **args):
17
     def __init__(self, internal=False, immutable=False, **args):
18
-        if self.__class__ == GenericFieldType:
18
+        if self.__class__ == FieldDataHandler:
19
             raise NotImplementedError("Abstract class")
19
             raise NotImplementedError("Abstract class")
20
 
20
 
21
         self.internal = internal  # Check this value ?
21
         self.internal = internal  # Check this value ?

Loading…
Cancel
Save