Factorise tests of wether user is super user.
Factorise conversion of user into a string. Define local_roles variable before accessing original dictionnary multiple times. Compare one-to-many using "[not ]in" instead of multiple "and [!|=]=". Factorise call to lower(). Update forgotten unneeded call to self.getSQLCatalog().getColumnMap().has_key() . git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15411 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment