Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 bdd24ccc8 -> d4d4334ad
Return a tuple instead of list. Patch by Mikhail Stepura for CASSANDRA-6770. Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/d4d4334a Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/d4d4334a Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/d4d4334a Branch: refs/heads/cassandra-2.1 Commit: d4d4334ad01cd805fce9e5cdcea4ed1a1abb9c69 Parents: bdd24cc Author: Mikhail Stepura <[email protected]> Authored: Tue Feb 25 11:49:00 2014 -0800 Committer: Mikhail Stepura <[email protected]> Committed: Tue Feb 25 11:49:00 2014 -0800 ---------------------------------------------------------------------- pylib/cqlshlib/usertypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/d4d4334a/pylib/cqlshlib/usertypes.py ---------------------------------------------------------------------- diff --git a/pylib/cqlshlib/usertypes.py b/pylib/cqlshlib/usertypes.py index 078016b..4438913 100644 --- a/pylib/cqlshlib/usertypes.py +++ b/pylib/cqlshlib/usertypes.py @@ -57,7 +57,7 @@ class UserType(CompositeType): result.append((str(col_name), col_type.from_binary(item))) p += 1 - return result + return tuple(result)
