2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-24 07:28:25 +00:00

Removed copytree

This commit is contained in:
Achilles Rasquinha 2018-02-05 18:46:41 +05:30
parent c00b581648
commit a3f6c4b346

View File

@ -101,17 +101,6 @@ def tempdir():
with tempchdir(dirpath, cleanup):
yield dirpath
def copytree(source, destination, symlinks = False, ignore = None):
for f in os.listdir(source):
s = os.path.join(source, f)
d = os.path.join(destination, f)
if os.path.isdir(s):
shutil.copytree(s, d, symlinks, ignore)
else:
shutil.copy2(s, d)
@click.command('migrate-env')
@click.argument('python', type = click.Choice(['python2', 'python3']))
@click.option('--no-backup', default = False, help = 'Do not backup the existing Virtual Environment')