diff options
Diffstat (limited to 'src/pybind/mgr/mgr_module.py')
-rw-r--r-- | src/pybind/mgr/mgr_module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/mgr_module.py b/src/pybind/mgr/mgr_module.py index 29ddff2ffc2..76ad8d9d0ce 100644 --- a/src/pybind/mgr/mgr_module.py +++ b/src/pybind/mgr/mgr_module.py @@ -1285,7 +1285,7 @@ class MgrModule(ceph_module.BaseMgrModule, MgrModuleLoggingMixin): if latest < version: raise RuntimeError(f"main.db version is newer ({version}) than module ({latest})") for i in range(version, latest): - self.log.info(f"upgrading main.db for {self.module_name} from {i-1}:{i}") + self.log.info(f"upgrading main.db for {self.module_name} from {i - 1}:{i}") for sql in self.SCHEMA_VERSIONED[i]: db.execute(sql) if version < latest: |