Return a proper list of SearchModel instances (Python 3).

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-06 22:20:13 -04:00
parent c6e68515ed
commit 7fb13a5888
2 changed files with 3 additions and 1 deletions

View File

@@ -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)
=================

View File

@@ -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):