瀏覽代碼

flake8 fix

Peter Bieringer 1 年之前
父節點
當前提交
18338b3c6e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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))
                 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")
-        except:
+        except Exception:
             logger.warning("Storage item mtime resolution test result not successful")
         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: