2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

syntax fix

This commit is contained in:
Ameya Shenoy 2018-02-28 19:12:13 +05:30
parent 59d6c99614
commit 7d9ac4e654
No known key found for this signature in database
GPG Key ID: 735490161CD5C91E

View File

@ -433,7 +433,7 @@ def update_requirements(bench_path='.'):
def update_node_packages(bench_path='.'):
print('Updating node packages...')
from bench.app import get_develop_version
v = semantic_version.Version(get_current_version('frappe', bench_path = bench_path)) + from distutils.version import LooseVersion
from distutils.version import LooseVersion
v = LooseVersion(get_develop_version('frappe', bench_path = bench_path))