more cleaning needed :(
authorsylvain.thenault@logilab.fr
Tue, 07 Apr 2009 09:10:26 +0200
changeset 1278 10fa95dd91ab
parent 1262 abaadb570626
child 1279 ea32281eff00
more cleaning needed :(
server/migractions.py
--- a/server/migractions.py	Tue Apr 07 08:55:37 2009 +0200
+++ b/server/migractions.py	Tue Apr 07 09:10:26 2009 +0200
@@ -60,7 +60,7 @@
             continue
         try:
             sqlcu.execute('ALTER TABLE %s RENAME TO cw_%s' % (etype, etype))
-            print 'renamed %s table for source %s' % (etype, uri)
+            print 'renamed %s table' % etype
         except:
             pass
         for rschema in etype.subject_relations():
@@ -69,8 +69,7 @@
             if rschema.is_final() or rschema.inlined:
                 sqlcu.execute('ALTER TABLE cw_%s RENAME %s TO cw_%s'
                               % (etype, rschema, rschema))
-                print 'renamed %s.%s column for source %s' % (
-                    etype, rschema, uri)
+                print 'renamed %s.%s column' % (etype, rschema)
     pool.commit()
     repo._free_pool(pool)