fixing c 1.2
This commit is contained in:
@@ -10,7 +10,7 @@ sys.path.append("")
|
|||||||
from cqlengine import connection
|
from cqlengine import connection
|
||||||
|
|
||||||
try:
|
try:
|
||||||
CASSANDRA_VERSION = os.environ["CASSANDRA_VERSION"]
|
CASSANDRA_VERSION = int(os.environ["CASSANDRA_VERSION"])
|
||||||
except:
|
except:
|
||||||
print "CASSANDRA_VERSION must be set as an environment variable. One of (12, 20, 21)"
|
print "CASSANDRA_VERSION must be set as an environment variable. One of (12, 20, 21)"
|
||||||
raise
|
raise
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
from unittest import TestCase
|
from unittest import TestCase
|
||||||
from cqlengine import connection
|
|
||||||
import os
|
import os
|
||||||
from cqlengine.connection import get_session
|
from cqlengine.connection import get_session
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user