[Erp5-report] r35550 jerome - /erp5/trunk/products/ERP5/mixin/downloadable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 24 10:47:17 CEST 2010


Author: jerome
Date: Mon May 24 10:47:11 2010
New Revision: 35550

URL: http://svn.erp5.org?rev=35550&view=rev
Log:
fix duplicate security declaration

Modified:
    erp5/trunk/products/ERP5/mixin/downloadable.py

Modified: erp5/trunk/products/ERP5/mixin/downloadable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/mixin/downloadable.py?rev=35550&r1=35549&r2=35550&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/mixin/downloadable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/mixin/downloadable.py [utf8] Mon May 24 10:47:11 2010
@@ -100,7 +100,7 @@
     return str(data)
 
   security.declareProtected(Permissions.AccessContentsInformation,
-                                                                  'index_html')
+                            'getStandardFileName')
   def getStandardFileName(self, format=None):
     """Returns the document coordinates as a standard file name. This
     method is the reverse of getPropertyDictFromFileName.




More information about the Erp5-report mailing list