Skip to content

Commit

Permalink
Fix exegol global import
Browse files Browse the repository at this point in the history
Signed-off-by: Dramelac <[email protected]>
  • Loading branch information
Dramelac committed May 14, 2024
1 parent 6623ad6 commit 56fd8ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions exegol/manager/ExegolController.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
from exegol.manager.ExegolManager import ExegolManager
from exegol.utils.DockerUtils import DockerUtils

try:
import docker
import requests
import git

from exegol.utils.ExeLog import logger, ExeLog, console
from exegol.utils.DockerUtils import DockerUtils
from exegol.console.cli.ParametersManager import ParametersManager
from exegol.console.cli.actions.ExegolParameters import Command
from exegol.manager.ExegolManager import ExegolManager
except ModuleNotFoundError as e:
print("Mandatory dependencies are missing:", e)
print("Please install them with python3 -m pip install --upgrade -r requirements.txt")
Expand Down
8 changes: 4 additions & 4 deletions exegol/model/ContainerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -1455,10 +1455,10 @@ def __str__(self):
f"Ports: {self.__ports}{os.linesep}" \
f"Share timezone: {self.__share_timezone}{os.linesep}" \
f"Common resources: {self.__my_resources}{os.linesep}" \
f"Envs ({len(self.__envs)}): {self.__envs}{os.linesep}" \
f"Labels ({len(self.__labels)}): {self.__labels}{os.linesep}" \
f"Shares ({len(self.__mounts)}): {self.__mounts}{os.linesep}" \
f"Devices ({len(self.__devices)}): {self.__devices}{os.linesep}" \
f"Envs ({len(self.__envs)}): {os.linesep.join(self.__envs)}{os.linesep}" \
f"Labels ({len(self.__labels)}): {os.linesep.join(self.__labels)}{os.linesep}" \
f"Shares ({len(self.__mounts)}): {os.linesep.join([str(x) for x in self.__mounts])}{os.linesep}" \
f"Devices ({len(self.__devices)}): {os.linesep.join(self.__devices)}{os.linesep}" \
f"VPN: {self.getVpnName()}"

def printConfig(self):
Expand Down

0 comments on commit 56fd8ea

Please sign in to comment.