[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga ./conga.spec.in.in luci/site/luci/Extens ...



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	kupcevic 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]