splitlog 4.1.4__tar.gz → 4.1.5__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.
- {splitlog-4.1.4 → splitlog-4.1.5}/PKG-INFO +1 -1
- {splitlog-4.1.4 → splitlog-4.1.5}/pyproject.toml +1 -1
- {splitlog-4.1.4 → splitlog-4.1.5}/splitlog/outputfolder.py +6 -1
- {splitlog-4.1.4 → splitlog-4.1.5}/LICENSE +0 -0
- {splitlog-4.1.4 → splitlog-4.1.5}/README.md +0 -0
- {splitlog-4.1.4 → splitlog-4.1.5}/splitlog/__init__.py +0 -0
- {splitlog-4.1.4 → splitlog-4.1.5}/splitlog/__main__.py +0 -0
|
@@ -220,7 +220,12 @@ class LinuxLocalFilesystemOutputFolder(OutputFolder):
|
|
|
220
220
|
|
|
221
221
|
def create(self, path: Path) -> BinWriter:
|
|
222
222
|
real_path = self._ensure_path_under_root(path)
|
|
223
|
-
|
|
223
|
+
f = open(real_path, "xb", opener=self._opener)
|
|
224
|
+
try:
|
|
225
|
+
return FileWrapper(f)
|
|
226
|
+
except Exception:
|
|
227
|
+
f.close()
|
|
228
|
+
raise
|
|
224
229
|
|
|
225
230
|
def _ensure_path_under_root(self, path: Path) -> Path:
|
|
226
231
|
if path.is_absolute():
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|