1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 21:51:28 +00:00

Remove an old Python 2 workaround

This commit is contained in:
dmiller
2023-01-31 23:06:28 +00:00
parent 68a5f5d743
commit 99b121d0a2
13 changed files with 2 additions and 49 deletions

View File

@@ -70,10 +70,7 @@ import unittest
import zenmapCore.I18N # lgtm[py/unused-import]
try:
import subprocess
except ImportError as e:
raise ImportError(str(e) + ".\n" + _("Python 2.4 or later is required."))
import subprocess
import zenmapCore.Paths
from zenmapCore.NmapOptions import NmapOptions