cubicweb/misc/migration/3.10.9_Any.py
changeset 12715 d59570643a49
parent 11279 e4f11ef1face
--- a/cubicweb/misc/migration/3.10.9_Any.py	Tue Jul 30 14:42:15 2019 +0200
+++ b/cubicweb/misc/migration/3.10.9_Any.py	Tue Jul 30 14:47:25 2019 +0200
@@ -7,7 +7,6 @@
 
 if confirm('fix existing cwuri?'):
     from logilab.common.shellutils import progress
-    from cubicweb.server.session import hooks_control
     rset = rql('Any X, XC WHERE X cwuri XC, X cwuri ~= "%/eid/%"')
     title = "%i entities to fix" % len(rset)
     nbops = rset.rowcount