mirror of https://github.com/apache/cassandra
Add a check to cqlsh to require Python-2.7
patch by Benjamin Lerer; reviewed by Stefania Alborghetti for CASSANDRA-10561
This commit is contained in:
parent
bbaa9630c4
commit
a5053fd944
|
|
@ -51,6 +51,9 @@ from glob import glob
|
|||
from StringIO import StringIO
|
||||
from uuid import UUID
|
||||
|
||||
if sys.version_info[0] != 2 or sys.version_info[1] != 7:
|
||||
sys.exit("\nCQL Shell supports only Python 2.7\n")
|
||||
|
||||
description = "CQL Shell for Apache Cassandra"
|
||||
version = "5.0.1"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue