diff --git a/DDG4/python/DDSim/DD4hepSimulation.py b/DDG4/python/DDSim/DD4hepSimulation.py
index 5a541e6c5d26999862e0387089936f2b259085b8..47ccb35b3cf8670c32373dec5e8f35b2d9bf5c90 100644
--- a/DDG4/python/DDSim/DD4hepSimulation.py
+++ b/DDG4/python/DDSim/DD4hepSimulation.py
@@ -615,10 +615,11 @@ class DD4hepSimulation(object):
   def __printSteeringFile(self, parser):
     """print the parameters formated as a steering file"""
 
-    steeringFileBase = textwrap.dedent("""from DDSim.DD4hepSimulation import DD4hepSimulation
-                                          from g4units import mm, GeV, MeV
-                                          SIM = DD4hepSimulation()
-                                          """)
+    steeringFileBase = textwrap.dedent("""\
+        from DDSim.DD4hepSimulation import DD4hepSimulation
+        from g4units import mm, GeV, MeV
+        SIM = DD4hepSimulation()
+        """)
     steeringFileBase += "\n"
     optionDict = parser._option_string_actions
     parameters = vars(self)