style: sort imports in controller

This commit is contained in:
Mark Paronyan committed 2026-10-02 12:43:26 +03:00
1 parent 61caa20524
commit 55df230864
23 files changed
+182 -194

No files matched your search

+8 -9
View File
@@ -15,22 +15,21 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import copy
import asyncio
import copy
import ipaddress
import logging
import sys
from ...utils.asyncio import locking
from .vmware_gns3_vm import VMwareGNS3VM
from .virtualbox_gns3_vm import VirtualBoxGNS3VM
from .hyperv_gns3_vm import HyperVGNS3VM
from .remote_gns3_vm import RemoteGNS3VM
from .gns3_vm_error import GNS3VMError
from ...version import __version__
from ..compute import ComputeError
from ..controller_error import ControllerError
import logging
from .gns3_vm_error import GNS3VMError
from .hyperv_gns3_vm import HyperVGNS3VM
from .remote_gns3_vm import RemoteGNS3VM
from .virtualbox_gns3_vm import VirtualBoxGNS3VM
from .vmware_gns3_vm import VMwareGNS3VM
log = logging.getLogger(__name__)
+2 -2
View File
@@ -15,10 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import psutil
import logging
import psutil
log = logging.getLogger(__name__)
@@ -15,11 +15,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import logging
import asyncio
import psutil
import ipaddress
import logging
import sys
import psutil
from .base_gns3_vm import BaseGNS3VM
from .gns3_vm_error import GNS3VMError
@@ -15,12 +15,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import logging
from .base_gns3_vm import BaseGNS3VM
from .gns3_vm_error import GNS3VMError
import logging
log = logging.getLogger(__name__)
@@ -15,21 +15,22 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import re
import sys
import aiohttp
import logging
import asyncio
import socket
import ipaddress
import logging
import re
import socket
import sys
import aiohttp
from .base_gns3_vm import BaseGNS3VM
from .gns3_vm_error import GNS3VMError
from gns3server.utils import parse_version
from gns3server.utils.http_client import HTTPClient
from gns3server.utils.asyncio import wait_run_in_executor
from gns3server.utils.http_client import HTTPClient
from ...compute.virtualbox import VirtualBox, VirtualBoxError
from .base_gns3_vm import BaseGNS3VM
from .gns3_vm_error import GNS3VMError
log = logging.getLogger(__name__)
@@ -15,9 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import logging
import asyncio
import logging
import os
import psutil
from gns3server.compute.vmware import VMware, VMwareError