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,7 +90,7 @@ class _LeCrud(object):
90 90
     ## @return A list of field name
91 91
     @classmethod
92 92
     def fieldlist(cls):
93
-        return cls.fieldtypes().keys()
93
+        return list(cls.fieldtypes().keys())
94 94
     
95 95
     ## @return The name of the uniq id field
96 96
     # @todo test for abstract method !!!

Loading…
Cancel
Save