Switch to unified view

a/pyforge/flyway/command.py b/pyforge/flyway/command.py
...
...
49
                reset_migration(ds, dry_run=self.options.dry_run)
49
                reset_migration(ds, dry_run=self.options.dry_run)
50
            else:
50
            else:
51
                run_migration(ds, self._target_versions(), dry_run=self.options.dry_run)
51
                run_migration(ds, self._target_versions(), dry_run=self.options.dry_run)
52
52
53
    def _setup_logging(self):
53
    def _setup_logging(self):
54
        if self.options.logging_config_file:
54
        if self.options.logging_config_file: # pragma no cover
55
            logging.config.fileConfig(self.options.logging_config_file)
55
            logging.config.fileConfig(self.options.logging_config_file)
56
        else:
56
        else:
57
            logging.basicConfig(
57
            logging.basicConfig(
58
                level=logging._levelNames[self.options.log_level],
58
                level=logging._levelNames[self.options.log_level],
59
                format='%(asctime)s,%(msecs)03d %(levelname)-5.5s'
59
                format='%(asctime)s,%(msecs)03d %(levelname)-5.5s'