mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Remove an old Python 2 workaround
This commit is contained in:
parent
68a5f5d743
commit
99b121d0a2
13 changed files with 2 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue