mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 17:24:41 +00:00
fix: Remove broken import path
This commit is contained in:
parent
18a954b88c
commit
2c5c28bbe2
@ -385,7 +385,6 @@ def update(
|
|||||||
from bench.bench import Bench
|
from bench.bench import Bench
|
||||||
from bench.config.common_site_config import update_config
|
from bench.config.common_site_config import update_config
|
||||||
from bench.exceptions import CannotUpdateReleaseBench
|
from bench.exceptions import CannotUpdateReleaseBench
|
||||||
from bench.utils import clear_command_cache
|
|
||||||
from bench.utils.app import is_version_upgrade
|
from bench.utils.app import is_version_upgrade
|
||||||
from bench.utils.system import backup_all_sites
|
from bench.utils.system import backup_all_sites
|
||||||
|
|
||||||
@ -394,8 +393,6 @@ def update(
|
|||||||
patches.run(bench_path=bench_path)
|
patches.run(bench_path=bench_path)
|
||||||
conf = bench.conf
|
conf = bench.conf
|
||||||
|
|
||||||
clear_command_cache(bench_path=".")
|
|
||||||
|
|
||||||
if conf.get("release_bench"):
|
if conf.get("release_bench"):
|
||||||
raise CannotUpdateReleaseBench("Release bench detected, cannot update!")
|
raise CannotUpdateReleaseBench("Release bench detected, cannot update!")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user