--- a/migration.py Fri Nov 04 13:03:52 2011 +0100
+++ b/migration.py Fri Nov 04 13:03:56 2011 +0100
@@ -34,6 +34,7 @@
from cubicweb import ConfigurationError, ExecutionError
from cubicweb.cwconfig import CubicWebConfiguration as cwcfg
+from cubicweb.toolsutils import show_diffs
def filter_scripts(config, directory, fromversion, toversion, quiet=True):
"""return a list of paths of migration files to consider to upgrade
@@ -417,8 +418,6 @@
return removed
def rewrite_configuration(self):
- # import locally, show_diffs unavailable in gae environment
- from cubicweb.toolsutils import show_diffs
configfile = self.config.main_config_file()
if self._option_changes:
read_old_config(self.config, self._option_changes, configfile)