Browse Source

LeCrud: fieldlist() returns a True list

ArnAud 8 years ago
parent
commit
3143719d9c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      leapi/lecrud.py

+ 1
- 1
leapi/lecrud.py View File

90
     ## @return A list of field name
90
     ## @return A list of field name
91
     @classmethod
91
     @classmethod
92
     def fieldlist(cls):
92
     def fieldlist(cls):
93
-        return cls.fieldtypes().keys()
93
+        return list(cls.fieldtypes().keys())
94
     
94
     
95
     ## @return The name of the uniq id field
95
     ## @return The name of the uniq id field
96
     # @todo test for abstract method !!!
96
     # @todo test for abstract method !!!

Loading…
Cancel
Save