logging-ext2 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: logging-ext2
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: extend python logging library
5
5
  Project-URL: Documentation, https://github.com/ramwin/logging-ext#readme
6
6
  Project-URL: Issues, https://github.com/ramwin/logging-ext/issues
@@ -1,4 +1,4 @@
1
1
  # SPDX-FileCopyrightText: 2025-present Xiang Wang <ramwin@qq.com>
2
2
  #
3
3
  # SPDX-License-Identifier: MIT
4
- __version__ = "0.2.3"
4
+ __version__ = "0.2.4"
@@ -78,7 +78,7 @@ class TimedRotatingFileHandler(Handler):
78
78
  continue
79
79
  if to_gzip_path.suffix == ".gz":
80
80
  continue
81
- lock_path = self.base_dir.joinpath(self.filename)
81
+ lock_path = self.base_dir.joinpath(".lock." + self.filename)
82
82
  lock_path.touch()
83
83
  with FileLock(lock_path, timeout=10):
84
84
  target_file = to_gzip_path.parent.joinpath(
logging_ext2-0.2.3/.git DELETED
@@ -1 +0,0 @@
1
- gitdir: ../../.git/modules/python/logging-ext2
File without changes
File without changes
File without changes