git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ed66917
)
Dont long system, Get or ReportRunlevel calls
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 15 Oct 2009 21:40:22 +0000
(21:40 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 15 Oct 2009 21:40:22 +0000
(21:40 +0000)
PLC/Method.py
patch
|
blob
|
history
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)