2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-28 06:49:06 +00:00

perf: Remove crontab from the import tree

This commit is contained in:
Aditya Hase 2021-02-21 10:02:02 +05:30
parent ad37665e8b
commit 2a4377ac6f
No known key found for this signature in database
GPG Key ID: 0A55F0FCA0234972

View File

@ -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')