[Erp5-report] r36963 mayoro - /erp5/trunk/products/ERP5/Document/PDFTypeInformation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jul 7 21:33:19 CEST 2010
Author: mayoro
Date: Wed Jul 7 21:33:18 2010
New Revision: 36963
URL: http://svn.erp5.org?rev=36963&view=rev
Log:
using RAM cache was experimental and shoul never be commited
Modified:
erp5/trunk/products/ERP5/Document/PDFTypeInformation.py
Modified: erp5/trunk/products/ERP5/Document/PDFTypeInformation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PDFTypeInformation.py?rev=36963&r1=36962&r2=36963&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PDFTypeInformation.py [utf8] Wed Jul 7 21:33:18 2010
@@ -432,7 +432,7 @@ class PDFTypeInformation(ERP5TypeInforma
generateParsedScribus = CachingMethod(generateParsedScribus,
('PDFTypeInformation_generateParsedScribus',
md5.new(scribus_form.getData()).digest()),
- cache_factory='erp5_content_long')
+ cache_factory='dms_cache_long')
return generateParsedScribus()
def getERP5Form(self):
@@ -545,7 +545,7 @@ class PDFTypeInformation(ERP5TypeInforma
#generateERP5Form = CachingMethod(generateERP5Form,
# ('PDFTypeInformation_generateERP5Form',
# md5.new(self.getDefaultScribusFormValue().getData()).digest()),
- # cache_factory='erp5_ui_long')
+ # cache_factory='dms_cache_long')
return generateERP5Form().__of__(self)
# XXX criticize ERP5.Document.Image
@@ -595,7 +595,7 @@ class PDFTypeInformation(ERP5TypeInforma
generateERP5FormCSS = CachingMethod(generateERP5FormCSS,
('PDFTypeInformation_generateERP5FormCSS',
md5.new(self.getDefaultScribusFormValue().getData()).digest()),
- cache_factory='erp5_content_long')
+ cache_factory='dms_cache_factory')
self.REQUEST.RESPONSE.setHeader('Content-Type', 'text/css')
return generateERP5FormCSS()
More information about the Erp5-report
mailing list