Commit 08b69a49 authored by Romain Courteaud's avatar Romain Courteaud

Add a test for type 'long'.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3060 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51ca1438
......@@ -1483,7 +1483,8 @@ class Catalog(Folder, Persistent, Acquisition.Implicit, ExtensionClass.Base):
if value_item != '':
# we consider empty string as Non Significant
# also for lists
if type(value_item) in (type(1), type(1.0)):
if type(value_item) in (type(1), type(1.0),
type(1991643034L)):
query_item += ["%s = %s" % (key, value_item)]
else:
if '%' in value_item:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment