# HG changeset patch # User Aurelien Campeas # Date 1367594783 -7200 # Node ID f094b72d3a6cdb9cc47a3ebbfd17f62b1f3d95fc # Parent be04a3e01ac9c783def76579010140c24c50a40e [schemaserial] mitigate critical message during migration We can't fetch extra_props because it is not yet there. diff -r be04a3e01ac9 -r f094b72d3a6c server/schemaserial.py --- a/server/schemaserial.py Wed May 22 06:30:16 2013 +0200 +++ b/server/schemaserial.py Fri May 03 17:26:23 2013 +0200 @@ -202,6 +202,8 @@ extra_props = dict(session.execute('Any X, XTP WHERE X is CWAttribute, ' 'X extra_props XTP')) except Exception: + session.critical('Previous CRITICAL notification about extra_props is not ' + 'a problem if you are migrating to cubicweb 3.17') extra_props = {} # not yet in the schema (introduced by 3.17 migration) for values in session.execute( 'Any X,SE,RT,OE,CARD,ORD,DESC,IDX,FTIDX,I18N,DFLT WHERE X is CWAttribute,'