Skip to content

Commit e9d62b2

Browse files
committed
fixed _pack_value_int usage (broken select)
1 parent 5a7cf4a commit e9d62b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tarantool/schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
### pylint: disable=C0301,W0105,W0401,W0614
33
'''
4-
This module provides :class:`~tarantool.schema.Schema` class.
4+
This module provides :class:`~tarantool.schema.Schema` class.
55
It is a Tarantool schema description.
66
'''
77

@@ -245,7 +245,7 @@ def pack_value(self, value, cast_to = None):
245245
if value > 4294967295:
246246
return self._pack_value_int64(value)
247247
else:
248-
return self.pack_value_int(value)
248+
return self._pack_value_int(value)
249249
elif isinstance(value, long):
250250
return self._pack_value_int64(value)
251251
else:

0 commit comments

Comments
 (0)