Skip to content

Commit befe2b0

Browse files
committed
flake8
1 parent 5db491d commit befe2b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/collective/collectionfilter/baseviews.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from plone import api
1616
from plone.api.portal import get_registry_record as getrec
1717
from plone.app.uuid.utils import uuidToCatalogBrain
18-
from plone.app.uuid.utils import uuidToObject
1918
from plone.i18n.normalizer.interfaces import IIDNormalizer
2019
from plone.memoize import instance
2120
from plone.uuid.interfaces import IUUID
@@ -339,7 +338,7 @@ def __call__(self):
339338

340339
try:
341340
limit = int(self.request.get("geojson-limit"))
342-
except:
341+
except Exception:
343342
limit = 500
344343

345344
for it in locations:

0 commit comments

Comments
 (0)