Skip to content
Snippets Groups Projects
Commit 3c3e4642 authored by Andre Sailer's avatar Andre Sailer
Browse files

DDCore.python.dd4hepFactories: fix string replacement issue (not enough %s)

we can just concatenate the strings like this. or better use textwrap.dedent and multiline strings.
parent 4faa6b12
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment