Skip to content

Commit 65a2d00

Browse files
committed
driver-six
1 parent 6320813 commit 65a2d00

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cassandra/cqltypes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
log = logging.getLogger(__name__)
6767

6868
_number_types = frozenset((int, float))
69-
long = int
7069

7170
def _name_from_hex_string(encoded_name):
7271
bin_str = unhexlify(encoded_name)
@@ -645,7 +644,7 @@ def serialize(v, protocol_version):
645644
raise TypeError('DateType arguments must be a datetime, date, or timestamp')
646645
timestamp = v
647646

648-
return int64_pack(long(timestamp))
647+
return int64_pack(int(timestamp))
649648

650649

651650
class TimestampType(DateType):

0 commit comments

Comments
 (0)