cwconfig.py
changeset 10567 c316e0049b9c
parent 10477 ee21c559f94f
child 10568 3914388b2d0f
equal deleted inserted replaced
10566:4c103a2c5e93 10567:c316e0049b9c
  1182     def set_sources_mode(self, sources):
  1182     def set_sources_mode(self, sources):
  1183         if not 'all' in sources:
  1183         if not 'all' in sources:
  1184             print 'warning: ignoring specified sources, requires a repository '\
  1184             print 'warning: ignoring specified sources, requires a repository '\
  1185                   'configuration'
  1185                   'configuration'
  1186 
  1186 
  1187     def migration_handler(self):
       
  1188         """return a migration handler instance"""
       
  1189         from cubicweb.migration import MigrationHelper
       
  1190         return MigrationHelper(self, verbosity=self.verbosity)
       
  1191 
       
  1192     def i18ncompile(self, langs=None):
  1187     def i18ncompile(self, langs=None):
  1193         from cubicweb import i18n
  1188         from cubicweb import i18n
  1194         if langs is None:
  1189         if langs is None:
  1195             langs = self.available_languages()
  1190             langs = self.available_languages()
  1196         i18ndir = join(self.apphome, 'i18n')
  1191         i18ndir = join(self.apphome, 'i18n')