[Erp5-report] r29818 - /erp5/trunk/products/ERP5/interfaces/downloadable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 19 20:16:25 CEST 2009


Author: jp
Date: Mon Oct 19 20:16:24 2009
New Revision: 29818

URL: http://svn.erp5.org?rev=29818&view=rev
Log:
Added getStandardFileName method

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

Modified: erp5/trunk/products/ERP5/interfaces/downloadable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/downloadable.py?rev=29818&r1=29817&r2=29818&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/downloadable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/downloadable.py [utf8] Mon Oct 19 20:16:24 2009
@@ -33,7 +33,7 @@
   """
   Downloadable interface specification
 
-  Documents which implement the IDownloadable can be downloaded
+  Documents which implement IDownloadable can be downloaded
   directly from their URL using any format specified as a parameter.
   """
 
@@ -51,4 +51,10 @@
 
     kw -- optional conversion parameters
     """
- 
+
+  def getStandardFileName():
+    """
+    Returns a standard file name for the document to download.
+    This method is the reverse of
+    IMetadataDiscoverable.getPropertyDictFromFileName.
+    """ 




More information about the Erp5-report mailing list