# HG changeset patch # User Pierre-Yves David # Date 1364911582 -7200 # Node ID 074f9f385f6baa99eee757131979213df188a484 # Parent f31e2d6f1b53ad008f8c6fadff9e689bfaad7d1f [req] explicit `user` attribute The `RequestSessionBase` object needs a `user` attribute. It is initialized by sub class, but having it explicitly declared is much cleaner. diff -r f31e2d6f1b53 -r 074f9f385f6b req.py --- a/req.py Tue Apr 02 16:02:52 2013 +0200 +++ b/req.py Tue Apr 02 16:06:22 2013 +0200 @@ -68,6 +68,7 @@ # cache result of execution for (rql expr / eids), # should be emptied on commit/rollback of the server session / web # connection + self.user = None self.local_perm_cache = {} self._ = unicode