This commit is contained in:
ed
2025-07-21 23:07:00 +00:00
parent 9921c43e3a
commit be0dd555a6
4 changed files with 47 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
# coding: utf-8
VERSION = (1, 18, 2)
VERSION = (1, 18, 3)
CODENAME = "logtail"
BUILD_DT = (2025, 7, 7)
BUILD_DT = (2025, 7, 21)
S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View File

@@ -38,7 +38,12 @@ def makedirs(name: str, mode: int = 0o755, exist_ok: bool = True) -> bool:
os.mkdir(bname) # to throw
return False
for zb in todo[::-1]:
os.mkdir(zb, mode)
try:
os.mkdir(zb, mode)
except:
if os.path.isdir(zb):
continue
raise
return True