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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user