Commits

Waldemar Kornewald  committed 9daaeea

removed unnecessary caught exception during index module import

  • Participants
  • Parent commits 955ccd4

Comments (0)

Files changed (1)

File db/db_settings.py

         for name in _MODULE_NAMES:
             try:
                 field_indexes.update(import_module(name).FIELD_INDEXES)
-            except (ImportError, AttributeError):
+            except ImportError:
                 pass
         FIELD_INDEXES = field_indexes
     return FIELD_INDEXES