misc/migration/bootstrapmigration_repository.py
changeset 8830 7fd6c52ef878
parent 8803 47dd517d6c6f
child 9163 fe4c1c1982e7
--- a/misc/migration/bootstrapmigration_repository.py	Mon Feb 11 11:47:50 2013 +0100
+++ b/misc/migration/bootstrapmigration_repository.py	Mon Dec 17 14:03:56 2012 +0100
@@ -47,6 +47,12 @@
         if not confirm('In cubicweb 3.17 embedding views have been moved to the embed '
                        'cube, which is not installed.  Continue anyway?'):
             raise
+    try:
+        add_cube('geocoding', update_database=False)
+    except ImportError:
+        if not confirm('In cubicweb 3.17 geocoding views have been moved to the geocoding '
+                       'cube, which is not installed.  Continue anyway?'):
+            raise
 
 if applcubicwebversion <= (3, 13, 0) and cubicwebversion >= (3, 13, 1):
     sql('ALTER TABLE entities ADD asource VARCHAR(64)')