1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +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

@@ -85,10 +85,6 @@ msgstr ""
"erhöht den Umfang der Ausgabe. Dies kann mehrfach benutzt werden, um den "
"Umfang weiter zu erhöhen."
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Python 2.4 oder aktueller ist erforderlich."
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -88,10 +88,6 @@ msgstr ""
"Aumenta la verbosidad de la salida. Puede ser utilizado más de una vez para "
"obtener aún más verbosidad"
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Es necesario Python 2.4 o una versión más reciente."
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -89,10 +89,6 @@ msgstr ""
"Augmente le nombre de messages informatifs. Peut être utilisé plus d'une "
"fois pour avoir encore plus d'informations"
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Python 2.4 ou plus récent est requis."
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -79,10 +79,6 @@ msgid ""
msgstr ""
"आउटपुट की क्वालिटी बढ़ाएँ। एक से ज़्यादा बरी इस्तेमाल से क्वालिटी और भी ज़्यादा बढ़ेगी। "
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Python 2.4 या अधिक की ज़रूरत हे।"
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -83,10 +83,6 @@ msgstr ""
"Povećaj opširnost ispisa. Može se koristiti više od jednom kako bi dobili "
"još veću opširnost"
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Python 2.4 ili kasniji je potreban."
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -83,10 +83,6 @@ msgstr ""
"Accresci la verbosità dell'output. Può essere utilizzato più di una volta "
"per ottenere maggiore verbosità"
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "E' richiesto python 2.4 o superiore."
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -84,10 +84,6 @@ msgstr ""
"スキャン結果の詳細さの数値を増やすことで、より多くの情報を得られるかもしれま"
"せん。"
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Python 2.4 もしくはそれ以降のバージョンが必要です"
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -12,10 +12,6 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Wymagany jest Python w wersji 2.4 lub nowszej."
#: zenmapCore/UmitDB.py:139
msgid "No module named dbapi2.pysqlite2 or sqlite3"
msgstr "Nie znaleziono modułu o nazwie dbapi2.pysqlite2 lub sqlite3"

View File

@@ -74,10 +74,6 @@ msgid ""
"more verbosity"
msgstr ""
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr ""
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -85,10 +85,6 @@ msgstr ""
"Увеличение объема вывода. Может использоваться несколько раз для расширения "
"вывода."
#: zenmapCore/NmapCommand.py:139
msgid "Python 2.4 or later is required."
msgstr "Требуется Python 2.4 или старше"
#: zenmapGUI/ScriptInterface.py:262
msgid ""
"There was an error getting the list of scripts from Nmap. Try upgrading Nmap."

View File

@@ -14,10 +14,6 @@ msgstr ""
"Language-Team: Chinese\n"
"Language: zh\n"
#: zenmapCore/NmapCommand.py:109
msgid "Python 2.4 or later is required."
msgstr "需要安装Python 2.4以上版本。"
#: zenmapCore/UmitOptionParser.py:109
#, python-format
msgid "Use DIR as the user configuration directory. Default: %default"

View File

@@ -7,7 +7,7 @@ if __name__ == "__main__":
import glob
import os
if not hasattr(unittest.defaultTestLoader, "discover"):
print("Python unittest discovery missing. Requires Python 2.7 or newer.") # noqa
print("Python unittest discovery missing. Requires Python 3.0 or newer.") # noqa
sys.exit(0)
os.chdir("..")

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 zenmapCore.Paths
from zenmapCore.NmapOptions import NmapOptions