From 1e20f171044927c1eb43d12d579cff6c7179a707 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Thu, 25 Jul 2019 14:08:02 +0200
Subject: [PATCH] replace raw_input with input from six.moves

---
 DDCore/python/dd4hepFactories.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/DDCore/python/dd4hepFactories.py b/DDCore/python/dd4hepFactories.py
index 59182e1e4..0e18d48a6 100755
--- a/DDCore/python/dd4hepFactories.py
+++ b/DDCore/python/dd4hepFactories.py
@@ -12,6 +12,7 @@
 
 from __future__ import absolute_import, unicode_literals
 import os, sys, optparse, logging
+from six.moves import input
 
 logging.basicConfig(format='%(levelname)s: %(message)s')
 logger = logging.getLogger(__name__)
@@ -97,7 +98,7 @@ class ComponentDumper:
                     ret = 'D'
                     if interactive:
                         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"+
                                             "<D>  to DUMP the list of components \n"+
                                             "<S>  to SKIP this particular library\n"+
-- 
GitLab