[Erp5-report] r14249 - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 26 19:00:55 CEST 2007


Author: ivan
Date: Thu Apr 26 19:00:50 2007
New Revision: 14249

URL: http://svn.erp5.org?rev=14249&view=rev
Log:
Typo fix (thanks Jerome)

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=14249&r1=14248&r2=14249&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py (original)
+++ erp5/trunk/products/ERP5/Document/Document.py Thu Apr 26 19:00:50 2007
@@ -714,7 +714,7 @@
                                             reference=self.getReference(),
                                             version=self.getVersion(),
                                             language=self.getLanguage(),
-                                            validation_state="<> cancelled"
+                                            validation_state="!=cancelled"
                                             )[0][0]
     # If self is not indexed yet, then if count == 1, version is not unique
     return count <= self_count




More information about the Erp5-report mailing list