2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 16:56:33 +00:00

[minor] better exception msg - Current branch of 'frappe' not in upstream

This commit is contained in:
Anand Doshi 2015-06-24 10:17:38 -04:00
parent bbce981e96
commit 9e7248d11b

View File

@ -98,7 +98,7 @@ def is_version_upgrade(bench='.', branch=None):
upstream_version = get_upstream_version(frappe_dir, branch=branch)
if not upstream_version:
raise Exception("Current branch not in upstream")
raise Exception("Current branch of 'frappe' not in upstream")
local_version = get_major_version(get_current_version(frappe_dir))
upstream_version = get_major_version(upstream_version)