2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00

chore: remove redundant print messages

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
This commit is contained in:
Chinmay D. Pai 2020-02-26 20:00:52 +05:30
parent 206d5ed3ae
commit 3bd83da49b
No known key found for this signature in database
GPG Key ID: 75507BE256F40CED

View File

@ -127,7 +127,6 @@ Do you want to continue and overwrite it?'''.format(repo_name)):
shutil.rmtree(os.path.join(bench_path, 'apps', repo_name)) shutil.rmtree(os.path.join(bench_path, 'apps', repo_name))
elif click.confirm('''Do you want to reinstall the existing application?''', abort=True): elif click.confirm('''Do you want to reinstall the existing application?''', abort=True):
app_name = get_app_name(bench_path, repo_name) app_name = get_app_name(bench_path, repo_name)
print("Reinstalling {0}".format(app_name))
install_app(app=app_name, bench_path=bench_path, verbose=verbose, skip_assets=skip_assets) install_app(app=app_name, bench_path=bench_path, verbose=verbose, skip_assets=skip_assets)
sys.exit() sys.exit()
@ -139,7 +138,6 @@ Do you want to continue and overwrite it?'''.format(repo_name)):
cwd=os.path.join(bench_path, 'apps')) cwd=os.path.join(bench_path, 'apps'))
app_name = get_app_name(bench_path, repo_name) app_name = get_app_name(bench_path, repo_name)
print("Installing {0}".format(app_name))
install_app(app=app_name, bench_path=bench_path, verbose=verbose, skip_assets=skip_assets) install_app(app=app_name, bench_path=bench_path, verbose=verbose, skip_assets=skip_assets)