Commit 64024ba1 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove debugging assert.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20898 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 252b90f4
......@@ -241,7 +241,6 @@ class ERP5UserManager(BasePlugin):
# LIMIT 1000
# "bar OR foo" because of ZSQLCatalog tokenizing searched sgtrings
# by default (feature).
assert isinstance(login, tuple), repr(login.__class__)
return [x.path for x in result if (not exact_match) or x['reference'] in login]
_getUserByLogin = CachingMethod(_getUserByLogin,
id='ERP5UserManager_getUserByLogin',
......
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