Skip to content

Commit

Permalink
Satisfy isort's stomach pains
Browse files Browse the repository at this point in the history
  • Loading branch information
András Váczi committed Jan 6, 2025
1 parent ee3d51d commit bf9967d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions patroni/multisite.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import abc
import json
import logging
from datetime import datetime
from threading import Thread, Event
import time

from datetime import datetime
from threading import Event, Thread

import six

from .dcs import Member, Cluster
import kubernetes

from .dcs import Cluster, Member
from .dcs.kubernetes import catch_kubernetes_errors
from .exceptions import DCSError

import kubernetes

logger = logging.getLogger(__name__)


Expand Down
2 changes: 1 addition & 1 deletion tests/test_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from patroni.dcs.etcd import AbstractEtcdClientWithFailover
from patroni.exceptions import DCSError, PatroniFatalException, PostgresConnectionException
from patroni.ha import _MemberStatus, Ha
from patroni.multisite import SingleSiteController
from patroni.postgresql import Postgresql
from patroni.postgresql.bootstrap import Bootstrap
from patroni.postgresql.callback_executor import CallbackAction
Expand All @@ -24,7 +25,6 @@
from patroni.postgresql.sync import _SyncState
from patroni.utils import tzutc
from patroni.watchdog import Watchdog
from patroni.multisite import SingleSiteController

from . import MockPostmaster, PostgresInit, psycopg_connect, requests_get
from .test_etcd import etcd_read, etcd_write, socket_getaddrinfo
Expand Down

0 comments on commit bf9967d

Please sign in to comment.