Extra change for #3933 for 1.1
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/40bb5509 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/40bb5509 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/40bb5509 Branch: refs/heads/trunk Commit: 40bb5509b9f25c20c29017ea2b282fa46982fe09 Parents: d9124ed Author: Sylvain Lebresne <[email protected]> Authored: Wed Feb 22 11:32:17 2012 +0100 Committer: Sylvain Lebresne <[email protected]> Committed: Wed Feb 22 11:32:17 2012 +0100 ---------------------------------------------------------------------- bin/cqlsh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/40bb5509/bin/cqlsh ---------------------------------------------------------------------- diff --git a/bin/cqlsh b/bin/cqlsh index ecad450..84aebea 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -974,7 +974,7 @@ class Shell(cmd.Cmd): optval = cql_escape(optval) notable_columns.append((option, optval)) for option, thriftname, _ in cqlhandling.columnfamily_map_options: - optmap = getattr(cfdef, thriftname or option) + optmap = getattr(cfdef, thriftname or option, {}) for k, v in optmap.items(): notable_columns.append(('%s:%s' % (option, k), cql_escape(v))) out.write('\n)')
