Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
1e20f171
Commit
1e20f171
authored
5 years ago
by
Marko Petric
Committed by
Andre Sailer
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
replace raw_input with input from six.moves
parent
572aa2d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDCore/python/dd4hepFactories.py
+2
-1
2 additions, 1 deletion
DDCore/python/dd4hepFactories.py
with
2 additions
and
1 deletion
DDCore/python/dd4hepFactories.py
+
2
−
1
View file @
1e20f171
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
from
__future__
import
absolute_import
,
unicode_literals
from
__future__
import
absolute_import
,
unicode_literals
import
os
,
sys
,
optparse
,
logging
import
os
,
sys
,
optparse
,
logging
from
six.moves
import
input
logging
.
basicConfig
(
format
=
'
%(levelname)s: %(message)s
'
)
logging
.
basicConfig
(
format
=
'
%(levelname)s: %(message)s
'
)
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
@@ -97,7 +98,7 @@ class ComponentDumper:
...
@@ -97,7 +98,7 @@ class ComponentDumper:
ret
=
'
D
'
ret
=
'
D
'
if
interactive
:
if
interactive
:
try
:
try
:
ret
=
raw_
input
(
"
<CR> to DUMP the list of components
\n
"
+
ret
=
input
(
"
<CR> to DUMP the list of components
\n
"
+
"
<Q> to QUIT
\n
"
+
"
<Q> to QUIT
\n
"
+
"
<D> to DUMP the list of components
\n
"
+
"
<D> to DUMP the list of components
\n
"
+
"
<S> to SKIP this particular library
\n
"
+
"
<S> to SKIP this particular library
\n
"
+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment