equal
deleted
inserted
replaced
345 for i in os.listdir(src): |
345 for i in os.listdir(src): |
346 if not i.startswith('.'): |
346 if not i.startswith('.'): |
347 srcpath = os.path.join(src,i) |
347 srcpath = os.path.join(src,i) |
348 dstpath = os.path.join(dst,i) |
348 dstpath = os.path.join(dst,i) |
349 if os.path.isdir(srcpath): |
349 if os.path.isdir(srcpath): |
350 os.makedirs(dstpath) |
350 if not os.path.exists(dstpath): |
|
351 os.makedirs(dstpath) |
351 mycopytree(srcpath, dstpath) |
352 mycopytree(srcpath, dstpath) |
352 elif os.path.isfile(srcpath): |
353 elif os.path.isfile(srcpath): |
353 shutil.copy2(srcpath, dstpath) |
354 shutil.copy2(srcpath, dstpath) |
354 |
355 |
355 class LPCPluginsRoot(PluginsRoot): |
356 class LPCPluginsRoot(PluginsRoot): |