summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b6dde27)
from time import time
from fcntl import flock, LOCK_EX, LOCK_UN, LOCK_NB
from time import time
from fcntl import flock, LOCK_EX, LOCK_UN, LOCK_NB
-# Import pickle and all anydbm/shelve internal machinery, so that
-# when ReadyExec forks they will be ready.
-# Also create the database if it is not exists yet.
+# Create the database if it is not exists yet.
try:
global_db = shelve.open(global_db_name, flag='c')
try:
global_db = shelve.open(global_db_name, flag='c')