diff -r 287813c487b7 -r 2172978be237 hooks/test/unittest_syncschema.py --- a/hooks/test/unittest_syncschema.py Fri Sep 23 09:17:37 2011 +0200 +++ b/hooks/test/unittest_syncschema.py Fri Sep 23 14:18:13 2011 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of CubicWeb. @@ -182,7 +182,7 @@ self.assertFalse(self.index_exists('State', 'state_of')) rset = self.execute('Any X, Y WHERE X state_of Y') self.assertEqual(len(rset), 2) # user states - except: + except Exception: import traceback traceback.print_exc() finally: