File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/collective/collectionfilter Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1515from plone import api
1616from plone .api .portal import get_registry_record as getrec
1717from plone .app .uuid .utils import uuidToCatalogBrain
18- from plone .app .uuid .utils import uuidToObject
1918from plone .i18n .normalizer .interfaces import IIDNormalizer
2019from plone .memoize import instance
2120from plone .uuid .interfaces import IUUID
@@ -323,7 +322,7 @@ def __call__(self):
323322
324323 try :
325324 limit = int (self .request .get ("geojson-limit" ))
326- except :
325+ except Exception :
327326 limit = 500
328327
329328 for it in locations :
@@ -378,4 +377,4 @@ def locations(self):
378377 custom_query = make_query (custom_query )
379378 return self .context .results (
380379 batch = False , brains = True , custom_query = custom_query
381- )
380+ )
You can’t perform that action at this time.
0 commit comments