git://git.onelab.eu
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove spurrious msgs from stderr
[tests.git]
/
system
/
config_sfadebug.py
diff --git
a/system/config_sfadebug.py
b/system/config_sfadebug.py
index
c7b14c1
..
33dd54d
100644
(file)
--- a/
system/config_sfadebug.py
+++ b/
system/config_sfadebug.py
@@
-1,11
+1,12
@@
+# -*- python3 -*-
# Thierry Parmentelat <thierry.parmentelat@inria.fr>
# Thierry Parmentelat <thierry.parmentelat@inria.fr>
-# Copyright (C) 201
2
INRIA
+# Copyright (C) 201
5
INRIA
#
# increment SFA_API_LOGLEVEL on all incoming plc_spec's
def config (plc_specs, options):
def tweak_loglevel (plc_spec):
#
# increment SFA_API_LOGLEVEL on all incoming plc_spec's
def config (plc_specs, options):
def tweak_loglevel (plc_spec):
- plc_spec['sfa']['SFA_API_LOGLEVEL'] += 1
+ plc_spec['sfa']['
settings']['
SFA_API_LOGLEVEL'] += 1
return plc_spec
return [tweak_loglevel (plc_spec) for plc_spec in plc_specs ]
return plc_spec
return [tweak_loglevel (plc_spec) for plc_spec in plc_specs ]