From: crouzet Date: Wed, 5 Feb 2020 10:56:50 +0000 (+0100) Subject: no direct use of USER variable X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=985a669153b1e60cc314ad0dfca54eed36ed8e14;p=tools%2Fsat.git no direct use of USER variable --- diff --git a/AllTestLauncherSat.py b/AllTestLauncherSat.py index 6003382..eaa1a96 100755 --- a/AllTestLauncherSat.py +++ b/AllTestLauncherSat.py @@ -58,6 +58,7 @@ import argparse as AP import glob import fnmatch import pprint as PP #pretty print +import src debug = False verboseImport = True @@ -75,7 +76,7 @@ sys.path.insert(0, satdir) sys.path.insert(0, srcdir) # TODO remove that sys.path.insert(0, cmdsdir) # TODO remove that -_user = os.environ['USER'] +_user = src.architecture.get_user() # wambeke is christian at home _developers = ["christian", "wambeke",] # ...who wants diff --git a/src/debug.py b/src/debug.py index 46c9efd..30d6ea7 100755 --- a/src/debug.py +++ b/src/debug.py @@ -73,7 +73,7 @@ except ImportError: _debug = [False] #support push/pop for temporary activate debug outputs # wambeke is christian at home -_developers = ["christian", "wambeke"] # crouzet, kloss ... +_developers = ["christian", "wambeke"] def isDeveloper():