From mboxrd@z Thu Jan 1 00:00:00 1970 From: kupcevic@sourceware.org Date: 29 Nov 2006 22:33:53 -0000 Subject: [Cluster-devel] conga ./conga.spec.in.in luci/site/luci/Extens ... Message-ID: <20061129223353.10815.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 Branch: RHEL5 Changes by: kupcevic at sourceware.org 2006-11-29 22:33:51 Modified files: . : conga.spec.in.in luci/site/luci/Extensions: HelperFunctions.py Log message: luci storage: fix bytes->TB conversion Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/conga.spec.in.in.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.45.2.7&r2=1.45.2.8 http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/HelperFunctions.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.4&r2=1.4.2.1 --- conga/conga.spec.in.in 2006/11/17 20:46:02 1.45.2.7 +++ conga/conga.spec.in.in 2006/11/29 22:33:50 1.45.2.8 @@ -289,7 +289,7 @@ XXXXXXXXXXXXXXXXXXX UPDATE NOT RELEASED YET XXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -- +- luci storage: fix bytes->TB conversion --- 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:33:50 1.4.2.1 @@ -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