mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +00:00
style: fixed docstring and unused imports
This commit is contained in:
parent
2d436126fd
commit
279073f1c0
@ -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
|
||||||
|
@ -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`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user