Skip to content

Commit

Permalink
perf: Remove six.moves.reload_module from the import tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Feb 21, 2021
1 parent 2df0bf7 commit 5d90346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/app.py
Expand Up @@ -11,7 +11,6 @@

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

# imports - module imports
import bench
Expand Down Expand Up @@ -364,6 +363,7 @@ def get_repo_dir(app, bench_path='.'):

def switch_branch(branch, apps=None, bench_path='.', upgrade=False, check_upgrade=True):
import git
from six.moves import reload_module
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 5d90346

Please sign in to comment.