From 279073f1c0e3d1b4ee30ad81572b2b5c86ffce01 Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 13 Apr 2020 13:02:51 +0530 Subject: [PATCH] style: fixed docstring and unused imports --- bench/cli.py | 1 - bench/utils.py | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) 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` """