2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-24 04:59:01 +00:00

style: fixed docstring and unused imports

This commit is contained in:
Gavin D'souza 2020-04-13 13:02:51 +05:30
parent 2d436126fd
commit 279073f1c0
2 changed files with 2 additions and 5 deletions

View File

@ -4,7 +4,6 @@ import json
import logging import logging
import os import os
import pwd import pwd
import subprocess
import sys import sys
# imports - third party imports # imports - third party imports

View File

@ -1142,8 +1142,7 @@ def find_parent_bench(path):
def generate_command_cache(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) 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='.'): def clear_command_cache(bench_path='.'):
""" """Clears commands cached
Clears commands cached
Default invalidation behaviour: destroyed on each run of `bench update` Default invalidation behaviour: destroyed on each run of `bench update`
""" """