# HG changeset patch # User Sylvain Thénault # Date 1282051529 -7200 # Node ID f3fdfcbda54b12cf118dfe340239dfea8f62a548 # Parent 2530e9c45296c0e97e967ba0edc46b84bb0e4555 cleanup diff -r 2530e9c45296 -r f3fdfcbda54b server/migractions.py --- a/server/migractions.py Tue Aug 17 15:25:17 2010 +0200 +++ b/server/migractions.py Tue Aug 17 15:25:29 2010 +0200 @@ -870,8 +870,8 @@ ask_confirm=False) # old entity type has not been added to the schema, can't gather it new = schema.eschema(newname) - oldeid = self.rqlexec('CWEType ET WHERE ET name %(on)s', {'on': oldname}, - ask_confirm=False)[0][0] + oldeid = self.rqlexec('CWEType ET WHERE ET name %(on)s', + {'on': oldname}, ask_confirm=False)[0][0] # backport old type relations to new type # XXX workflows, other relations? for r1, rr1 in [('from_entity', 'to_entity'), diff -r 2530e9c45296 -r f3fdfcbda54b test/unittest_schema.py --- a/test/unittest_schema.py Tue Aug 17 15:25:17 2010 +0200 +++ b/test/unittest_schema.py Tue Aug 17 15:25:29 2010 +0200 @@ -15,9 +15,7 @@ # # You should have received a copy of the GNU Lesser General Public License along # with CubicWeb. If not, see . -"""unit tests for module cubicweb.schema - -""" +"""unit tests for module cubicweb.schema""" import sys from os.path import join, isabs, basename, dirname