From ce2bbcbf02fc19ade198c8444289cd7a805f8dc2 Mon Sep 17 00:00:00 2001 From: Mikhail Stepura Date: Wed, 19 Feb 2014 14:32:04 -0800 Subject: [PATCH] Return an empty meta object instead of None. Patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-6741 --- bin/cqlsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cqlsh b/bin/cqlsh index b0128e7513..ef08dab6cc 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -722,7 +722,7 @@ class Shell(cmd.Cmd): self.cursor.execute(ut_q, consistency_level='ONE') data = self.fetchdict_all() if not data: - return None + return cql3handling.UserTypesMeta({}) return cql3handling.UserTypesMeta.from_layout(data)