cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject [1/2] cassandra git commit: cqlsh: fix formatting of map keys and values
Date Fri, 03 Apr 2015 20:18:30 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 2341e945b -> adcb8a439


cqlsh: fix formatting of map keys and values

Patch by Tyler Hobbs; reviewed by Philip Thompson for CASSANDRA-9114


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f7162293
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f7162293
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f7162293

Branch: refs/heads/trunk
Commit: f7162293d2d61319be25aad49e76546ab335b9ff
Parents: e4072cf
Author: Tyler Hobbs <tyler@datastax.com>
Authored: Fri Apr 3 15:17:20 2015 -0500
Committer: Tyler Hobbs <tyler@datastax.com>
Committed: Fri Apr 3 15:17:20 2015 -0500

----------------------------------------------------------------------
 pylib/cqlshlib/formatting.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f7162293/pylib/cqlshlib/formatting.py
----------------------------------------------------------------------
diff --git a/pylib/cqlshlib/formatting.py b/pylib/cqlshlib/formatting.py
index ac12fe6..868ec28 100644
--- a/pylib/cqlshlib/formatting.py
+++ b/pylib/cqlshlib/formatting.py
@@ -264,6 +264,7 @@ def format_value_map(val, encoding, colormap, date_time_format, float_precision,
     return FormattedValue(bval, coloredval, displaywidth)
 formatter_for('OrderedDict')(format_value_map)
 formatter_for('OrderedMap')(format_value_map)
+formatter_for('OrderedMapSerializedKey')(format_value_map)
 
 
 def format_value_utype(val, encoding, colormap, date_time_format, float_precision, nullval,
**_):


Mime
View raw message