File tree Expand file tree Collapse file tree 6 files changed +0
-11
lines changed Expand file tree Collapse file tree 6 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- from __future__ import division
16
15
from datetime import datetime
17
16
18
17
from cassandra .cqlengine import UnicodeMixin , ValidationError
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- from __future__ import with_statement
16
15
from _weakref import ref
17
16
import calendar
18
17
from collections import OrderedDict
Original file line number Diff line number Diff line change 18
18
# about the encoded request size. Note that the counts would be available using the internal 'metrics' tracking --
19
19
# this is just demonstrating a way to track a few custom attributes.
20
20
21
- from __future__ import print_function
22
21
from cassandra .cluster import Cluster
23
22
from greplin import scales
24
23
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- from __future__ import print_function
16
-
17
15
import os
18
16
import shutil
19
17
import sys
Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ def setup_module():
50
50
MIN_LONG = - 9223372036854775808
51
51
ZERO_LONG = 0
52
52
53
- if sys .version_info < (3 , 0 ):
54
- MAX_LONG = long (MAX_LONG )
55
- MIN_LONG = long (MIN_LONG )
56
- ZERO_LONG = long (ZERO_LONG )
57
-
58
53
MAKE_STRICT = "schema.config().option('graph.schema_mode').set('production')"
59
54
MAKE_NON_STRICT = "schema.config().option('graph.schema_mode').set('development')"
60
55
ALLOW_SCANS = "schema.config().option('graph.allow_scan').set('true')"
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- from __future__ import print_function
16
15
import logging
17
16
import time
18
17
You can’t perform that action at this time.
0 commit comments