diff --git a/DDDigi/python/digitize.py b/DDDigi/python/digitize.py index a6511e30910cab6ac63f1610fe20b70ad67a96f0..72c485aad8e35799f02f62f4dfffe48eb44471dd 100644 --- a/DDDigi/python/digitize.py +++ b/DDDigi/python/digitize.py @@ -8,6 +8,7 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # # ========================================================================== +from __future__ import absolute_import import dd4hep import dddigi diff --git a/examples/DDDigi/scripts/DigiTest.py b/examples/DDDigi/scripts/DigiTest.py index 290acb45c3e8238f044913d3655d2f25acda27ff..393e6029f1de9b195eeead98fb00badd811f7a1a 100644 --- a/examples/DDDigi/scripts/DigiTest.py +++ b/examples/DDDigi/scripts/DigiTest.py @@ -8,10 +8,11 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # # ========================================================================== - +from __future__ import absolute_import import dddigi import logging from g4units import ns + logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO) logger = logging.getLogger(__name__) diff --git a/examples/DDDigi/scripts/TestInput.py b/examples/DDDigi/scripts/TestInput.py index 9cf47bb900e7f94041015c42499f7e4e6f1a9dbb..e071947b584e20a43c8fc23e90aaa6422a95562c 100644 --- a/examples/DDDigi/scripts/TestInput.py +++ b/examples/DDDigi/scripts/TestInput.py @@ -8,6 +8,7 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # # ========================================================================== +from __future__ import absolute_import def run(): import DigiTest diff --git a/examples/DDDigi/scripts/TestMultiInteractions.py b/examples/DDDigi/scripts/TestMultiInteractions.py index 18cf7ebbfc4f7156ba27330b8da0368d5a79f7e7..b7cdc2cf1df0601f6a48aae81c379fc8b09d8f00 100644 --- a/examples/DDDigi/scripts/TestMultiInteractions.py +++ b/examples/DDDigi/scripts/TestMultiInteractions.py @@ -8,7 +8,7 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # # ========================================================================== -from g4units import ns +from __future__ import absolute_import def run(): import DigiTest diff --git a/examples/DDDigi/scripts/TestSegmentationSplit.py b/examples/DDDigi/scripts/TestSegmentationSplit.py index a72f728e73f007c9d38f709dcb67bbbb09333717..d908de66ec86bb0bace1588884359885e3317830 100644 --- a/examples/DDDigi/scripts/TestSegmentationSplit.py +++ b/examples/DDDigi/scripts/TestSegmentationSplit.py @@ -8,7 +8,7 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # # ========================================================================== -from g4units import ns +from __future__ import absolute_import def run(): import DigiTest diff --git a/examples/DDDigi/scripts/TestSpillover.py b/examples/DDDigi/scripts/TestSpillover.py index cf86dfd8ff0a517df94ac8ce35ac5601986b96c7..f5000dc41e1791d67aae3215d516096284260534 100644 --- a/examples/DDDigi/scripts/TestSpillover.py +++ b/examples/DDDigi/scripts/TestSpillover.py @@ -8,6 +8,7 @@ # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # # ========================================================================== +from __future__ import absolute_import from g4units import ns def run():