Skip to content

Commit

Permalink
perf: Remove crontab from the import tree
Browse files Browse the repository at this point in the history
  • Loading branch information
adityahase committed Feb 21, 2021
1 parent ad37665 commit 2a4377a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

# 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
Expand Down Expand Up @@ -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')

Expand Down

0 comments on commit 2a4377a

Please sign in to comment.