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

[Cluster-devel] conga luci/site/luci/Extensions/HelperFunction ...



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


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