branch | stable |
changeset 5072 | 072ae171aeb0 |
parent 4957 | 25f20adba80f |
child 5082 | d6fd82a5a4e8 |
child 5168 | 1ab032df5ca3 |
--- a/server/querier.py Tue Mar 30 11:06:13 2010 +0200 +++ b/server/querier.py Tue Mar 30 11:15:08 2010 +0200 @@ -620,7 +620,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