Add whitespace to match typical python formatting as flake8 cares about
the formatting of the embedded expressions now.
Part of an effort to get ceph tox environments passing on Python 3.12.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
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: