diff --git a/bin/dummyversion.py b/bin/dummyversion.py
index cc9ccf2cb5e45f4d4b23ca6ebbc276e9f1578220..1ba1dfa9cfb8d0a58bc84b9079dfa4bb0a1887f1 100755
--- a/bin/dummyversion.py
+++ b/bin/dummyversion.py
@@ -31,16 +31,16 @@ dummy_version = str(sys.argv[2])
 spec = importlib.util.find_spec(module_name)
 
 if spec is None:
-  # [module_name] cannot be found: most likely, the PYTHONPATH has not been
-  # correctly set up.
-  exit(1)
+    # [module_name] cannot be found: most likely, the PYTHONPATH has not been
+    # correctly set up.
+    exit(1)
 
 # [module_name] has been found. However, this is not sufficient to conclude that
 # its interpretation/execution will not fail, e.g., due to unmet dependencies.
 try:
-  import_module(module_name)
-except ModuleNotFoundError as error:
-  exit(1)
+    import_module(module_name)
+except ModuleNotFoundError:
+    exit(1)
 
 print(dummy_version)
-exit(0)
\ No newline at end of file
+exit(0)