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

[hotfix] remove yes w

This commit is contained in:
Anand Doshi 2015-12-10 12:31:51 +05:30
parent d02347031d
commit 9304506be5

View File

@ -358,7 +358,7 @@ def update_requirements(bench='.'):
for app in os.listdir(apps_dir): for app in os.listdir(apps_dir):
req_file = os.path.join(apps_dir, app, 'requirements.txt') req_file = os.path.join(apps_dir, app, 'requirements.txt')
if os.path.exists(req_file): if os.path.exists(req_file):
exec_cmd("yes w | {pip} install -q -r {req_file}".format(pip=pip, req_file=req_file)) exec_cmd("{pip} install -q -r {req_file}".format(pip=pip, req_file=req_file))
def backup_site(site, bench='.'): def backup_site(site, bench='.'):
if FRAPPE_VERSION == 4: if FRAPPE_VERSION == 4: