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