Return a proper list of SearchModel instances (Python 3).
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
* Add stricted error checking to the crop transformation.
|
||||
* Update compressed files class module to work with Python 3.
|
||||
* Update document parsing app tests to work with Python 3.
|
||||
* Handle office files in explicit binary mode for Python 3.
|
||||
* Return a proper list of SearchModel instances (Python 3).
|
||||
|
||||
3.1.4 (2018-10-4)
|
||||
=================
|
||||
|
||||
@@ -26,7 +26,7 @@ class SearchModel(object):
|
||||
|
||||
@classmethod
|
||||
def all(cls):
|
||||
return cls._registry.values()
|
||||
return list(cls._registry.values())
|
||||
|
||||
@classmethod
|
||||
def as_choices(cls):
|
||||
|
||||
Reference in New Issue
Block a user