changeset 5082 | d6fd82a5a4e8 |
parent 5004 | 4cc020ee70e2 |
parent 5072 | 072ae171aeb0 |
child 5174 | 78438ad513ca |
--- a/server/querier.py Fri Mar 26 19:21:17 2010 +0100 +++ b/server/querier.py Tue Mar 30 14:32:03 2010 +0200 @@ -613,7 +613,7 @@ return empty_rset(rql, args, rqlst) self._rql_cache[cachekey] = rqlst orig_rqlst = rqlst - if not rqlst.TYPE == 'select': + if rqlst.TYPE != 'select': if session.read_security: check_no_password_selected(rqlst) # write query, ensure session's mode is 'write' so connections won't