diff --git a/DDCore/python/dd4hepFactories.py b/DDCore/python/dd4hepFactories.py
index 13959f5ce4208a90ea3f53407fd2b094760a986b..073b4fe3eabdb600899e7c88691160bb8fea3d5b 100755
--- a/DDCore/python/dd4hepFactories.py
+++ b/DDCore/python/dd4hepFactories.py
@@ -103,11 +103,11 @@ class ComponentDumper:
           ret = 'D'
           if interactive:
             try:
-              ret = input("%s%s%s%s" % ("<CR> to DUMP the list of components \n",
-                                        "<Q>  to QUIT                        \n",
-                                        "<D>  to DUMP the list of components \n",
-                                        "<S>  to SKIP this particular library\n",
-                                        "<L>  to no longer LOAD libraries    \n"))
+              ret = input("<CR> to DUMP the list of components \n"
+                          "<Q>  to QUIT                        \n"
+                          "<D>  to DUMP the list of components \n"
+                          "<S>  to SKIP this particular library\n"
+                          "<L>  to no longer LOAD libraries    \n")
             except Exception:
               ret = 'D'
           if not len(ret):