diff --git a/DDCore/python/dd4hepFactories.py b/DDCore/python/dd4hepFactories.py index 13959f5ce..073b4fe3e 100755 --- a/DDCore/python/dd4hepFactories.py +++ b/DDCore/python/dd4hepFactories.py @@ -103,11 +103,11 @@ def dumpInventory(self, summary_only=False, dump=True, load=False, interactive=T ret = 'D' if interactive: try: - ret = input("%s%s%s%s" % (" to DUMP the list of components \n", - " to QUIT \n", - " to DUMP the list of components \n", - " to SKIP this particular library\n", - " to no longer LOAD libraries \n")) + ret = input(" to DUMP the list of components \n" + " to QUIT \n" + " to DUMP the list of components \n" + " to SKIP this particular library\n" + " to no longer LOAD libraries \n") except Exception: ret = 'D' if not len(ret):