From 985a669153b1e60cc314ad0dfca54eed36ed8e14 Mon Sep 17 00:00:00 2001 From: crouzet Date: Wed, 5 Feb 2020 11:56:50 +0100 Subject: [PATCH] no direct use of USER variable --- AllTestLauncherSat.py | 3 ++- src/debug.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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(): -- 2.39.2