You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2008/06/18 20:18:26 UTC

svn commit: r669247 - /hadoop/hbase/trunk/bin/Formatter.rb

Author: stack
Date: Wed Jun 18 11:18:26 2008
New Revision: 669247

URL: http://svn.apache.org/viewvc?rev=669247&view=rev
Log:
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell; Fix formatting issue outputting messy binary values

Modified:
    hadoop/hbase/trunk/bin/Formatter.rb

Modified: hadoop/hbase/trunk/bin/Formatter.rb
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/bin/Formatter.rb?rev=669247&r1=669246&r2=669247&view=diff
==============================================================================
--- hadoop/hbase/trunk/bin/Formatter.rb (original)
+++ hadoop/hbase/trunk/bin/Formatter.rb Wed Jun 18 11:18:26 2008
@@ -93,8 +93,8 @@
 
     def output(width, str)
       # Make up a spec for printf
-      spec = "%%-%d.%ds" % [width, width]
-      @out.printf(spec % str)
+      spec = "%%-%ds" % width
+      @out.printf(spec, str)
     end
 
     def footer(startTime = nil)