diff --git a/bench/cli.py b/bench/cli.py index a3235382..628f2413 100755 --- a/bench/cli.py +++ b/bench/cli.py @@ -4,7 +4,6 @@ import json import logging import os import pwd -import subprocess import sys # imports - third party imports diff --git a/bench/utils.py b/bench/utils.py index 332bda2a..38786545 100755 --- a/bench/utils.py +++ b/bench/utils.py @@ -1142,8 +1142,7 @@ def find_parent_bench(path): def generate_command_cache(bench_path='.'): - """ - Caches all available commands (even custom apps) via Frappe + """Caches all available commands (even custom apps) via Frappe Default caching behaviour: generated the first time any command (for a specific bench directory) """ @@ -1165,8 +1164,7 @@ def generate_command_cache(bench_path='.'): def clear_command_cache(bench_path='.'): - """ - Clears commands cached + """Clears commands cached Default invalidation behaviour: destroyed on each run of `bench update` """