import sys
import time
import getopt
-import soltesz
+import database
def main():
- act_all = soltesz.dbLoad(sys.argv[1])
- plcdb_hn2lb = soltesz.dbLoad("plcdb_hn2lb")
+ act_all = database.dbLoad(sys.argv[1])
+ plcdb_hn2lb = database.dbLoad("plcdb_hn2lb")
s_nodenames = ""
sickdb = {}
for k in keys:
if "message" not in k and "msg" not in k:
if 'time' in k:
- s_time=time.strftime("%Y/%m/%d %H:%M:%S",
- time.gmtime(diag_node[k]))
+ s_time=time.strftime("%Y/%m/%d %H:%M:%S", time.gmtime(diag_node[k]))
print "\t'%s' : %s" % (k, s_time)
else:
print "\t'%s' : %s" % (k, diag_node[k])