git://git.onelab.eu
/
monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle the case where there is no data in db yet.
[monitor.git]
/
dumpact.py
diff --git
a/dumpact.py
b/dumpact.py
index
1ac0cb1
..
713970c
100755
(executable)
--- a/
dumpact.py
+++ b/
dumpact.py
@@
-5,12
+5,13
@@
import sys
import time
import getopt
import sys
import time
import getopt
-import soltesz
+import database
+from monitor.wrapper import plccache
def main():
def main():
- act_all =
soltesz
.dbLoad(sys.argv[1])
- plcdb_hn2lb =
soltesz.dbLoad("plcdb_hn2lb")
+ act_all =
database
.dbLoad(sys.argv[1])
+ plcdb_hn2lb =
plccache.plcdb_hn2lb
s_nodenames = ""
sickdb = {}
s_nodenames = ""
sickdb = {}