equal
deleted
inserted
replaced
772 else: |
772 else: |
773 sources = ('all',) |
773 sources = ('all',) |
774 config.set_sources_mode(sources) |
774 config.set_sources_mode(sources) |
775 config.repairing = self.config.force |
775 config.repairing = self.config.force |
776 mih = config.migration_handler() |
776 mih = config.migration_handler() |
777 if args: |
777 try: |
778 for arg in args: |
778 if args: |
779 mih.process_script(arg) |
779 for arg in args: |
780 else: |
780 mih.process_script(arg) |
781 mih.interactive_shell() |
781 else: |
782 if not self.config.pyro: |
782 mih.interactive_shell() |
783 mih.shutdown() |
783 finally: |
|
784 if not self.config.pyro: |
|
785 mih.shutdown() |
|
786 else: |
|
787 cnx.close() |
784 |
788 |
785 |
789 |
786 class RecompileInstanceCatalogsCommand(InstanceCommand): |
790 class RecompileInstanceCatalogsCommand(InstanceCommand): |
787 """Recompile i18n catalogs for instances. |
791 """Recompile i18n catalogs for instances. |
788 |
792 |