# HG changeset patch # User Edouard Tisserant # Date 1672609238 -3600 # Node ID c3a13fcbda3a596795fff1b0cd2827538096d3ab # Parent cf7c9118399509109a3158c0b23358fb5af528cf cosmetic fix diff -r cf7c91183995 -r c3a13fcbda3a LocalRuntimeMixin.py --- a/LocalRuntimeMixin.py Sun Jan 01 22:39:41 2023 +0100 +++ b/LocalRuntimeMixin.py Sun Jan 01 22:40:38 2023 +0100 @@ -6,13 +6,12 @@ import tempfile import random import shutil + from util.ProcessLogger import ProcessLogger from util.paths import Bpath LocalRuntimeInterpreterPath = \ - os.environ["BEREMIZPYTHONPATH"] \ - if os.environ.has_key("BEREMIZPYTHONPATH") \ - else sys.executable + os.environ.get("BEREMIZPYTHONPATH", sys.executable) class LocalRuntimeMixin():