equal
deleted
inserted
replaced
614 return ApplicationCommand.ordered_instances(self) |
614 return ApplicationCommand.ordered_instances(self) |
615 |
615 |
616 def upgrade_application(self, appid): |
616 def upgrade_application(self, appid): |
617 from logilab.common.changelog import Version |
617 from logilab.common.changelog import Version |
618 config = cwcfg.config_for(appid) |
618 config = cwcfg.config_for(appid) |
619 config.creating = True # notice we're not starting the server |
619 config.repairing = True # notice we're not starting the server |
620 config.verbosity = self.config.verbosity |
620 config.verbosity = self.config.verbosity |
621 try: |
621 try: |
622 config.set_sources_mode(self.config.ext_sources or ('migration',)) |
622 config.set_sources_mode(self.config.ext_sources or ('migration',)) |
623 except AttributeError: |
623 except AttributeError: |
624 # not a server config |
624 # not a server config |