Resolve pylint message C0330
C0330: Wrong hanging indentation before block
Change-Id: I6a37025182bfca7d079f707df27f4c2e780bbba4
diff --git a/container-images/gerrit-init/tools/gerrit_init.py b/container-images/gerrit-init/tools/gerrit_init.py
index 7272658..299ed00 100755
--- a/container-images/gerrit-init/tools/gerrit_init.py
+++ b/container-images/gerrit-init/tools/gerrit_init.py
@@ -88,9 +88,9 @@
provided_version = self._get_gerrit_version("/var/war/gerrit.war")
if installed_version != provided_version:
LOG.info("New Gerrit version was provided (current: %s; new: %s). "
- "Reinitializing site." % (
- installed_version,
- provided_version))
+ "Reinitializing site." % (
+ installed_version,
+ provided_version))
return True
if self.wanted_plugins.difference(self.installed_plugins):
@@ -132,7 +132,7 @@
if init_process.returncode > 0:
LOG.error("An error occured, when initializing Gerrit. Exit code: %d" %
- init_process.returncode)
+ init_process.returncode)
sys.exit(1)
# pylint: disable=C0103