[Debtags-commits] [svn] r2230 - cgi-bin

Erich Schubert erich at alioth.debian.org
Wed Jan 3 19:57:20 CET 2007


Author: erich
Date: Wed Jan  3 19:57:20 2007
New Revision: 2230

Modified:
   cgi-bin/rdf
Log:
fix rdf caching

Modified: cgi-bin/rdf
==============================================================================
--- cgi-bin/rdf	(original)
+++ cgi-bin/rdf	Wed Jan  3 19:57:20 2007
@@ -20,7 +20,7 @@
 
 if os.stat(cachefile).st_mtime - cache_expiry < time.time():
 	f = file(cachefile,"r")
-	result = f.readlines()
+	result = f.read()
 	f.close()
 
 if not result:



More information about the Debtags-commits mailing list