mirror of
https://github.com/frappe/bench.git
synced 2025-01-27 08:18:25 +00:00
fix: Don't handle BaseException
s
This commit is contained in:
parent
d33d987b2c
commit
ad000f1be7
@ -425,7 +425,7 @@ def install_resolved_deps(
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
installed_branch = bench.apps.states[repo_name]["resolution"]["branch"].strip()
|
installed_branch = bench.apps.states[repo_name]["resolution"]["branch"].strip()
|
||||||
except:
|
except Exception:
|
||||||
installed_branch = (
|
installed_branch = (
|
||||||
subprocess.
|
subprocess.
|
||||||
check_output("git rev-parse --abbrev-ref HEAD", shell=True, cwd=path_to_app)
|
check_output("git rev-parse --abbrev-ref HEAD", shell=True, cwd=path_to_app)
|
||||||
@ -451,7 +451,7 @@ def install_resolved_deps(
|
|||||||
is_compatible = default_branch == installed_branch
|
is_compatible = default_branch == installed_branch
|
||||||
else:
|
else:
|
||||||
is_compatible = installed_branch == app.tag
|
is_compatible = installed_branch == app.tag
|
||||||
except:
|
except Exception:
|
||||||
is_compatible = False
|
is_compatible = False
|
||||||
|
|
||||||
prefix = 'C' if is_compatible else 'Inc'
|
prefix = 'C' if is_compatible else 'Inc'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user