kkpyutil 1.34.0__tar.gz → 1.35.0__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.
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/PKG-INFO +1 -1
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/kkpyutil.py +2 -0
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/pyproject.toml +1 -1
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/LICENSE +0 -0
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/README.md +0 -0
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/kkpyutil_helper/windows/kkttssave.ps1 +0 -0
- {kkpyutil-1.34.0 → kkpyutil-1.35.0}/kkpyutil_helper/windows/kkttsspeak.ps1 +0 -0
|
@@ -1731,6 +1731,7 @@ def copy_file(src, dst, isdstdir=False, keepmeta=False):
|
|
|
1731
1731
|
copyfunc(src, dst)
|
|
1732
1732
|
except shutil.SameFileError:
|
|
1733
1733
|
glogger.warning(f'source and destination are identical. will SKIP: {osp.abspath(src)} -> {osp.abspath(dst)}.')
|
|
1734
|
+
return dst if not isdstdir else osp.join(dst, osp.basename(src))
|
|
1734
1735
|
|
|
1735
1736
|
|
|
1736
1737
|
def move_file(src, dst, isdstdir=False):
|
|
@@ -1751,6 +1752,7 @@ def move_file(src, dst, isdstdir=False):
|
|
|
1751
1752
|
- detail: {e}
|
|
1752
1753
|
- advice: manually remove source
|
|
1753
1754
|
- ignored""")
|
|
1755
|
+
return dst if not isdstdir else osp.join(dst, osp.basename(src))
|
|
1754
1756
|
|
|
1755
1757
|
|
|
1756
1758
|
def compare_dirs(dir1, dir2, ignoreddirpatterns=(), ignoredfilepatterns=(), showdiff=True):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|