From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 29 Nov 2006 22:29:49 -0000 Subject: [Cluster-devel] conga luci/site/luci/Extensions/HelperFunction ... Message-ID: <20061129222949.8193.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: kupcevic at sourceware.org 2006-11-29 22:29:49 Modified files: luci/site/luci/Extensions: HelperFunctions.py . : conga.spec.in.in Log message: luci storage: fix bytes->TB conversion Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/HelperFunctions.py.diff?cvsroot=cluster&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&r1=1.54&r2=1.55 --- conga/luci/site/luci/Extensions/HelperFunctions.py 2006/10/06 22:08:13 1.4 +++ conga/luci/site/luci/Extensions/HelperFunctions.py 2006/11/29 22:29:48 1.5 @@ -133,6 +133,6 @@ def convert_bytes(bytes, units): c = int(bytes) / get_units_multiplier(units) - c = str(c) + c = repr(c) c = c[:c.find('.') + 3] return c --- conga/conga.spec.in.in 2006/11/17 20:39:42 1.54 +++ conga/conga.spec.in.in 2006/11/29 22:29:48 1.55 @@ -289,7 +289,7 @@ XXXXXXXXXXXXXXXXXXX UPDATE NOT RELEASED YET XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -- +- luci storage: fix bytes->TB conversion