cassandra git commit: Update cqlsh formatting for upgraded python driver
Repository: cassandra Updated Branches: refs/heads/cassandra-2.1 7dc94abd5 - 8092d2c65 Update cqlsh formatting for upgraded python driver Patch by Adam Holmberg; reviewed by Tyler Hobbs for CASSANDRA-8664 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8092d2c6 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8092d2c6 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8092d2c6 Branch: refs/heads/cassandra-2.1 Commit: 8092d2c654bac86265738f4ad8c06440ad2ce4b6 Parents: 7dc94ab Author: Adam Holmberg adam.holmb...@datastax.com Authored: Wed Jan 21 18:36:29 2015 -0600 Committer: Tyler Hobbs tylerho...@apache.org Committed: Wed Jan 21 18:36:29 2015 -0600 -- pylib/cqlshlib/formatting.py | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8092d2c6/pylib/cqlshlib/formatting.py -- diff --git a/pylib/cqlshlib/formatting.py b/pylib/cqlshlib/formatting.py index 845ffac..f03540d 100644 --- a/pylib/cqlshlib/formatting.py +++ b/pylib/cqlshlib/formatting.py @@ -246,6 +246,7 @@ def format_value_map(val, encoding, colormap, time_format, float_precision, null displaywidth = 4 * len(subs) + sum(k.displaywidth + v.displaywidth for (k, v) in subs) return FormattedValue(bval, coloredval, displaywidth) formatter_for('OrderedDict')(format_value_map) +formatter_for('OrderedMap')(format_value_map) def format_value_utype(val, encoding, colormap, time_format, float_precision, nullval, **_):
[1/2] cassandra git commit: Update cqlsh formatting for upgraded python driver
Repository: cassandra Updated Branches: refs/heads/trunk 0c3720ab8 - 5d3c2c985 Update cqlsh formatting for upgraded python driver Patch by Adam Holmberg; reviewed by Tyler Hobbs for CASSANDRA-8664 Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8092d2c6 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8092d2c6 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8092d2c6 Branch: refs/heads/trunk Commit: 8092d2c654bac86265738f4ad8c06440ad2ce4b6 Parents: 7dc94ab Author: Adam Holmberg adam.holmb...@datastax.com Authored: Wed Jan 21 18:36:29 2015 -0600 Committer: Tyler Hobbs tylerho...@apache.org Committed: Wed Jan 21 18:36:29 2015 -0600 -- pylib/cqlshlib/formatting.py | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/cassandra/blob/8092d2c6/pylib/cqlshlib/formatting.py -- diff --git a/pylib/cqlshlib/formatting.py b/pylib/cqlshlib/formatting.py index 845ffac..f03540d 100644 --- a/pylib/cqlshlib/formatting.py +++ b/pylib/cqlshlib/formatting.py @@ -246,6 +246,7 @@ def format_value_map(val, encoding, colormap, time_format, float_precision, null displaywidth = 4 * len(subs) + sum(k.displaywidth + v.displaywidth for (k, v) in subs) return FormattedValue(bval, coloredval, displaywidth) formatter_for('OrderedDict')(format_value_map) +formatter_for('OrderedMap')(format_value_map) def format_value_utype(val, encoding, colormap, time_format, float_precision, nullval, **_):