Commit 950d42cb authored by Sebastien Robin's avatar Sebastien Robin

typo error coorected


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@844 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 79d1ef24
......@@ -739,7 +739,7 @@ class SelectionTool( UniqueObject, SimpleItem ):
# XXX Remove DateTime, This is really bad, only use for zope 2.6
# XXX This has to be removed as quickly as possible
for k,v in kw.items():
if instance(v,DateTime):
if isinstance(v,DateTime):
del kw[k]
# XXX End of the part to remove
pickle_string = pickle.dumps(kw)
......
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