Browse Source

flake8 fix

Peter Bieringer 1 year ago
parent
commit
18338b3c6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      radicale/storage/multifilesystem/__init__.py

+ 1 - 1
radicale/storage/multifilesystem/__init__.py

@@ -165,7 +165,7 @@ class Storage(
                 logger.info("Storage item mtime resolution test result: %d %s" % (precision_unit, unit))
                 logger.info("Storage item mtime resolution test result: %d %s" % (precision_unit, unit))
                 if self._use_mtime_and_size_for_item_cache is False:
                 if self._use_mtime_and_size_for_item_cache is False:
                     logger.info("Storage cache using mtime and size for 'item' may be an option in case of performance issues")
                     logger.info("Storage cache using mtime and size for 'item' may be an option in case of performance issues")
-        except:
+        except Exception:
             logger.warning("Storage item mtime resolution test result not successful")
             logger.warning("Storage item mtime resolution test result not successful")
         logger.debug("Storage cache action logging: %s", self._debug_cache_actions)
         logger.debug("Storage cache action logging: %s", self._debug_cache_actions)
         if self._use_cache_subfolder_for_item is True or self._use_cache_subfolder_for_history is True or self._use_cache_subfolder_for_synctoken is True:
         if self._use_cache_subfolder_for_item is True or self._use_cache_subfolder_for_history is True or self._use_cache_subfolder_for_synctoken is True: