Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 cf3e748cb -> 5c9d73209
ninja: fix cqlsh formatting of UDTs Follow-up to upgrade of the bundled python driver for CASSANDRA-8154 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/5c9d7320 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/5c9d7320 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/5c9d7320 Branch: refs/heads/cassandra-2.1 Commit: 5c9d73209f94def94bd4aa4f159e365a44cbfe96 Parents: cf3e748 Author: Tyler Hobbs <[email protected]> Authored: Thu Feb 12 12:32:54 2015 -0600 Committer: Tyler Hobbs <[email protected]> Committed: Thu Feb 12 12:32:54 2015 -0600 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/5c9d7320/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index 26296a3..31dc080 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -482,7 +482,7 @@ def auto_format_udts(): make_udt_class = cassandra.cqltypes.UserType.make_udt_class def new_make_udt_class(cls, *args, **kwargs): udt_class = make_udt_class(*args, **kwargs) - formatter_for(udt_class.typename)(format_value_utype) + formatter_for(udt_class.tuple_type.__name__)(format_value_utype) return udt_class cassandra.cqltypes.UserType.make_udt_class = classmethod(new_make_udt_class)
