diff --git a/DDG4/tpython/DDPython.cpp b/DDG4/tpython/DDPython.cpp index 1bcf77d58..9500ca06b 100644 --- a/DDG4/tpython/DDPython.cpp +++ b/DDG4/tpython/DDPython.cpp @@ -207,10 +207,6 @@ void dd4hep::DDPython::restoreThread() { } int dd4hep::DDPython::setArgs(int argc, char** argv) const { - // Need to protect against API change from Python 2 to Python 3 -#if PY_VERSION_HEX < 0x03000000 - ::PySys_SetArgv(argc,argv); -#else std::vector wargs; std::vector wargv; for(int i=0; i wargs; std::vector wargv; for(int i=0; i