[Erp5-report] r29824 - /erp5/trunk/products/ERP5/interfaces/uploadable.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 19 20:52:14 CEST 2009


Author: jp
Date: Mon Oct 19 20:52:13 2009
New Revision: 29824

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

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

Modified: erp5/trunk/products/ERP5/interfaces/uploadable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/interfaces/uploadable.py?rev=29824&r1=29823&r2=29824&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/interfaces/uploadable.py [utf8] (original)
+++ erp5/trunk/products/ERP5/interfaces/uploadable.py [utf8] Mon Oct 19 20:52:13 2009
@@ -111,4 +111,10 @@
     NOTE: implementation is normally delegated to ContributionTool.
 
     XXX - it is unclear whether MAX_REPEAT should be part of signature
+    """
+
+  def isExternalDocument():
+    """
+    Returns True if content was downloaded from a URL. Returns False
+    if content was uploaded from a file.
     """




More information about the Erp5-report mailing list