Skip to content

Commit a1d320b

Browse files
committed
Fix bare exception
1 parent 38fbe3b commit a1d320b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cities/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def get_locales(self):
288288
try:
289289
locales.remove('LANGUAGES')
290290
locales += [e[0] for e in django_settings.LANGUAGES]
291-
except:
291+
except Exception:
292292
pass
293293

294294
return set([e.lower() for e in locales])

0 commit comments

Comments
 (0)