Skip to content

Commit

Permalink
perf: Remove git from the import tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Feb 20, 2021
1 parent cc92584 commit df773d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

# imports - third party imports
import click
import git
import semantic_version
from six.moves import reload_module

Expand Down Expand Up @@ -359,6 +358,7 @@ def get_repo_dir(app, bench_path='.'):
return os.path.join(bench_path, 'apps', app)

def switch_branch(branch, apps=None, bench_path='.', upgrade=False, check_upgrade=True):
import git
from bench.utils import update_requirements, update_node_packages, backup_all_sites, patch_sites, build_assets, post_upgrade
apps_dir = os.path.join(bench_path, 'apps')
version_upgrade = (False,)
Expand Down

0 comments on commit df773d4

Please sign in to comment.