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
mass commit. updates for the new db schema in findbad, findbadpcu, nodequery,
[monitor.git]
/
monitor
/
database
/
dbpickle.py
diff --git
a/monitor/database/dbpickle.py
b/monitor/database/dbpickle.py
index
e127791
..
6f3a87d
100644
(file)
--- a/
monitor/database/dbpickle.py
+++ b/
monitor/database/dbpickle.py
@@
-1,6
+1,10
@@
import os
import sys
import pickle
import os
import sys
import pickle
+import inspect
+import shutil
+from monitor import config
+
noserial=False
try:
from util.PHPSerialize import *
noserial=False
try:
from util.PHPSerialize import *
@@
-9,11
+13,6
@@
except:
#print >>sys.stderr, "PHPSerial db type not allowed."
noserial=True
#print >>sys.stderr, "PHPSerial db type not allowed."
noserial=True
-import inspect
-import shutil
-import config
-import config as monitorconfig
-
DEBUG= 0
PICKLE_PATH=config.MONITOR_DATA_ROOT
DEBUG= 0
PICKLE_PATH=config.MONITOR_DATA_ROOT