From 4fb04da34612fe9422dc58dcc641b4d12ecb83fb Mon Sep 17 00:00:00 2001 From: Marko Petric <marko.petric@cern.ch> Date: Wed, 4 Sep 2019 17:22:25 +0200 Subject: [PATCH] put future import at start of file --- DDG4/python/DDSim/bin/ddsim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DDG4/python/DDSim/bin/ddsim b/DDG4/python/DDSim/bin/ddsim index dbb034db8..e70e36a82 100755 --- a/DDG4/python/DDSim/bin/ddsim +++ b/DDG4/python/DDSim/bin/ddsim @@ -7,12 +7,11 @@ Based on M. Frank and F. Gaede runSim.py @version 0.1 """ -from DDSim.DD4hepSimulation import DD4hepSimulation -#------------------------------------------------ from __future__ import absolute_import, unicode_literals - import logging +from DDSim.DD4hepSimulation import DD4hepSimulation + logging.basicConfig(format='%(levelname)s: %(message)s') logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) -- GitLab