提交 0ef06196 编写于 作者: F FondMemoryVVV

fix tar_files.py

Signed-off-by: NFondMemoryVVV <mashuai53@huawei.com>
上级 e89adfe1
...@@ -30,7 +30,7 @@ def copyFiles(sourceDir, targetDir): ...@@ -30,7 +30,7 @@ def copyFiles(sourceDir, targetDir):
if not os.path.isfile(sourceF): if not os.path.isfile(sourceF):
if os.path.isdir(sourceF): if os.path.isdir(sourceF):
copyFiles(sourceF, targetF) copyFiles(sourceF, targetF)
continue continue
if os.path.exists(targetDir): if os.path.exists(targetDir):
copyFileCounts += 1 copyFileCounts += 1
with open(targetF, "wb") as fp: with open(targetF, "wb") as fp:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册