[Erp5-report] r27767 - in /erp5/trunk/products/ZSQLCatalog: ./ tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Jun 23 10:26:02 CEST 2009
Author: tatuya
Date: Tue Jun 23 10:26:01 2009
New Revision: 27767
URL: http://svn.erp5.org?rev=27767&view=rev
Log:
just revert the r27722 because that commit breaks backword compatibility.
Modified:
erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py
Modified: erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SQLCatalog.py?rev=27767&r1=27766&r2=27767&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] Tue Jun 23 10:26:01 2009
@@ -2023,7 +2023,6 @@
value = dict(value)
if ignore_empty_string and (
value == ''
- or value is None
or (isinstance(value, (list, tuple)) and len(value) == 0)
or (isinstance(value, dict) and (
'query' not in value
Modified: erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py?rev=27767&r1=27766&r2=27767&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/tests/testSQLCatalog.py [utf8] Tue Jun 23 10:26:01 2009
@@ -277,8 +277,6 @@
ReferenceQuery(operator='<', date=DateTime('2008/02/02 10:10:11 UTC'))
, operator='and'), operator='and'),
{column: '2008/02/02 10:10:10 UTC'})
- self.catalog(ReferenceQuery(operator='and', date=None),
- {column: None})
def test_DateTimeKey(self):
self._testDateTimeKey('date')
More information about the Erp5-report
mailing list