[Erp5-report] r10552 - /erp5/trunk/products/ERP5OOo/Document/DMSFile.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 4 21:47:51 CEST 2006


Author: bartek
Date: Wed Oct  4 21:47:50 2006
New Revision: 10552

URL: http://svn.erp5.org?rev=10552&view=rev
Log:
initialize content_type (since data property sheet is not usable yet)

Modified:
    erp5/trunk/products/ERP5OOo/Document/DMSFile.py

Modified: erp5/trunk/products/ERP5OOo/Document/DMSFile.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/Document/DMSFile.py?rev=10552&r1=10551&r2=10552&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/DMSFile.py (original)
+++ erp5/trunk/products/ERP5OOo/Document/DMSFile.py Wed Oct  4 21:47:50 2006
@@ -162,6 +162,9 @@
   searchable_attrs=('title','description','id','reference','version',
       'short_title','keywords','subject','source_reference','source_project_title')
 
+  # XXX a hack-around untill JPS's Data property sheets stops to break thins :)
+  content_type='application/unknown'
+
   ### Content indexing methods
   security.declareProtected(Permissions.View, 'getSearchableText')
   def getSearchableText(self, md=None):




More information about the Erp5-report mailing list