mirror of
https://github.com/nmap/nmap.git
synced 2025-12-13 19:29:04 +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) *
|
# * 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 errno
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import re
|
import re
|
||||||
|
|||||||
Reference in New Issue
Block a user