equal
deleted
inserted
replaced
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') |