Skip to contentSkip to conversation

conga ./conga.spec.in.in luci/site/luci/Extens ...

Cluster-devel [email protected] 1 participant 1 message Nov 29, 2006

lore
Share & tools
lore
#0 lore raw

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.spec.in.in +1 -1
@@ -289,7 +289,7 @@
 XXXXXXXXXXXXXXXXXXX UPDATE NOT RELEASED YET XXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
-- 
+- luci storage: fix bytes->TB conversion
 
 
 
luci/site/luci/Extensions/HelperFunctions.py +1 -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