You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2011/06/09 20:34:29 UTC
svn commit: r1134030 - /cassandra/drivers/py/cqlsh
Author: jbellis
Date: Thu Jun 9 18:34:29 2011
New Revision: 1134030
URL: http://svn.apache.org/viewvc?rev=1134030&view=rev
Log:
trade ljust for rjust
Modified:
cassandra/drivers/py/cqlsh
Modified: cassandra/drivers/py/cqlsh
URL: http://svn.apache.org/viewvc/cassandra/drivers/py/cqlsh?rev=1134030&r1=1134029&r2=1134030&view=diff
==============================================================================
--- cassandra/drivers/py/cqlsh (original)
+++ cassandra/drivers/py/cqlsh Thu Jun 9 18:34:29 2011
@@ -186,7 +186,7 @@ class Shell(cmd.Cmd):
name = desc[0]
width = widths[name]
self.printout(" ", newline=False)
- self.printout(string.ljust(str(name), width), MAGENTA, False)
+ self.printout(string.rjust(str(name), width), MAGENTA, False)
self.printout(" |", newline=False)
self.printout("")
@@ -196,7 +196,7 @@ class Shell(cmd.Cmd):
name = desc[0]
width = widths[desc[0]]
self.printout(" ", newline=False)
- self.printout(string.ljust(str(value), width), YELLOW, False)
+ self.printout(string.rjust(str(value), width), YELLOW, False)
self.printout(" |", newline=False)
self.printout("")