1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Hard-require Python 2 in zenmap/setup.py. Closes #255

This commit is contained in:
dmiller
2016-01-05 14:12:42 +00:00
parent ea400e1ff0
commit 7c3f57675e

View File

@@ -118,9 +118,12 @@
# * Nmap, and also available from https://svn.nmap.org/nmap/COPYING) *
# * *
# ***************************************************************************/
import sys
if sys.version_info[0] != 2:
sys.exit("Sorry, Zenmap requires Python 2")
import errno
import sys
import os
import os.path
import re