You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2012/09/26 00:38:40 UTC
git commit: cqlsh: fix display of timeuuids
Updated Branches:
refs/heads/trunk 7dee84c34 -> f6bb970a4
cqlsh: fix display of timeuuids
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f6bb970a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f6bb970a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f6bb970a
Branch: refs/heads/trunk
Commit: f6bb970a4936e18ca058c7775c87a0d38a0aa49b
Parents: 7dee84c
Author: Brandon Williams <br...@apache.org>
Authored: Tue Sep 25 17:38:08 2012 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Tue Sep 25 17:38:08 2012 -0500
----------------------------------------------------------------------
pylib/cqlshlib/formatting.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/f6bb970a/pylib/cqlshlib/formatting.py
----------------------------------------------------------------------
diff --git a/pylib/cqlshlib/formatting.py b/pylib/cqlshlib/formatting.py
index c12a422..11b4dcb 100644
--- a/pylib/cqlshlib/formatting.py
+++ b/pylib/cqlshlib/formatting.py
@@ -137,7 +137,7 @@ def format_value_timestamp(val, colormap, time_format, **_):
@formatter_for('timeuuid')
def format_value_timeuuid(val, colormap, time_format, **_):
- utime = unix_time_from_uuid1(val)
+ utime = cqltypes.unix_time_from_uuid1(val)
bval = time.strftime(time_format, time.localtime(utime))
return colorme(bval, colormap, 'timestamp')