Salome HOME
projects
/
tools
/
sat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction erreur d'indentation et tabulations
[tools/sat.git]
/
AllTestLauncherSat.py
diff --git
a/AllTestLauncherSat.py
b/AllTestLauncherSat.py
index 8b74f2fb4d3e8d9ff2f8c950ae432bf03637b4cd..eaa1a967b5054a52b30297dfd3095c4ea38cc061 100755
(executable)
--- 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 glob
import fnmatch
import pprint as PP #pretty print
+import src
debug = False
verboseImport = True
debug = False
verboseImport = True
@@
-75,9
+76,9
@@
sys.path.insert(0, satdir)
sys.path.insert(0, srcdir) # TODO remove that
sys.path.insert(0, cmdsdir) # TODO remove that
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
# wambeke is christian at home
-_develop
p
ers = ["christian", "wambeke",] # ...who wants
+_developers = ["christian", "wambeke",] # ...who wants
def errPrint(aStr):
"""stderr to avoid write in html or xml file log message"""
def errPrint(aStr):
"""stderr to avoid write in html or xml file log message"""
@@
-148,10
+149,10
@@
def format_exception(msg, limit=None, trace=None):
"""
Format a stack trace and the exception information.
as traceback.format_exception(),
"""
Format a stack trace and the exception information.
as traceback.format_exception(),
- with all traceback only if user in ._develop
p
ers
+ with all traceback only if user in ._developers
"""
etype, value, tb = sys.exc_info()
"""
etype, value, tb = sys.exc_info()
- if _user in _develop
p
ers:
+ if _user in _developers:
res = "\n" + msg
if tb:
res += "\nTraceback (most recent call last):\n"
res = "\n" + msg
if tb:
res += "\nTraceback (most recent call last):\n"