R [server debug] more server side debugging tweaks
""":organization: Logilab:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses"""ifconfirm('remove deprecated database constraints?'):execute=session.system_sqlsession.set_pool()dbhelper=session.pool.source('system').dbhelpercu=session.pool['system']fortableindbhelper.list_tables(cu):iftable.endswith('_relation'):try:execute('ALTER TABLE %s DROP CONSTRAINT %s_fkey1'%(table,table))execute('ALTER TABLE %s DROP CONSTRAINT %s_fkey2'%(table,table))except:continuecheckpoint()if'inline_view'inschema:# inline_view attribute should have been deleted for a while now....drop_attribute('CWRelation','inline_view')