Skip to content

Commit

Permalink
organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
snopoke committed Dec 10, 2020
1 parent b0b308e commit 683a834
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions corehq/apps/domain/deletion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import itertools
import logging
from collections import Counter
from datetime import date

from django.apps import apps
Expand All @@ -9,9 +8,6 @@
from django.db import connection, transaction
from django.db.models import Q

from corehq.sql_db.util import get_db_aliases_for_partitioned_query
from dimagi.utils.chunked import chunked

from corehq.apps.accounting.models import Subscription
from corehq.apps.accounting.utils import get_change_status
from corehq.apps.domain.utils import silence_during_tests
Expand All @@ -25,7 +21,9 @@
CaseAccessors,
FormAccessors,
)
from corehq.sql_db.util import get_db_aliases_for_partitioned_query
from corehq.util.log import with_progress_bar
from dimagi.utils.chunked import chunked
from settings import HQ_ACCOUNT_ROOT

logger = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions corehq/apps/domain/tests/test_delete_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
)
from corehq.apps.mobile_auth.models import SQLMobileAuthKeyRecord
from corehq.apps.mobile_auth.utils import new_key_record
from corehq.apps.ota.models import MobileRecoveryMeasure, SerialIdBucket, DeviceLogRequest
from corehq.apps.ota.models import MobileRecoveryMeasure, SerialIdBucket
from corehq.apps.products.models import Product, SQLProduct
from corehq.apps.registration.models import RegistrationRequest
from corehq.apps.reminders.models import EmailUsage
Expand All @@ -93,7 +93,7 @@
SQLMobileBackendMapping,
)
from corehq.apps.smsforms.models import SQLXFormsSession
from corehq.apps.translations.models import SMSTranslations, TransifexBlacklist, TransifexOrganization, TransifexProject
from corehq.apps.translations.models import SMSTranslations, TransifexBlacklist
from corehq.apps.userreports.models import AsyncIndicator
from corehq.apps.users.models import DomainRequest, Invitation
from corehq.apps.zapier.consts import EventTypes
Expand Down

0 comments on commit 683a834

Please sign in to comment.