mirror of
https://github.com/frappe/bench.git
synced 2024-11-16 01:57:08 +00:00
perf: Remove crontab from the import tree
This commit is contained in:
parent
ad37665e8b
commit
2a4377ac6f
@ -22,7 +22,6 @@ from distutils.spawn import find_executable
|
||||
|
||||
# imports - third party imports
|
||||
import click
|
||||
from crontab import CronTab
|
||||
from semantic_version import Version
|
||||
from six import iteritems
|
||||
from six.moves.urllib.parse import urlparse
|
||||
@ -386,6 +385,7 @@ def get_sites(bench_path='.'):
|
||||
|
||||
|
||||
def setup_backups(bench_path='.'):
|
||||
from crontab import CronTab
|
||||
from bench.config.common_site_config import get_config
|
||||
logger.log('setting up backups')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user