git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dont long system, Get or ReportRunlevel calls
[plcapi.git]
/
PLC
/
Method.py
diff --git
a/PLC/Method.py
b/PLC/Method.py
index
942549d
..
52c6b20
100644
(file)
--- a/
PLC/Method.py
+++ b/
PLC/Method.py
@@
-125,8
+125,8
@@
class Method (object):
"""
# Do not log system or Get calls
"""
# Do not log system or Get calls
-
#if self.name.startswith('system') or self.name.startswith('Get')
:
-
#
return False
+
if self.name.startswith('system') or self.name.startswith('Get') or self.name.startswith('ReportRunlevel')
:
+ return False
# Create a new event
event = Event(self.api)
# Create a new event
event = Event(self.api)