X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=xsetbg.py;h=930a65fbf4719130c1bc2de59c1b4b5fb4ef44b1;hb=52529b9239d2bad82b9b65ac3e77e2d327136aed;hp=d3336ade1a3631a0ac630f6d16de26100209b6c8;hpb=b6dde277b5d6238c9149ff4289888afa190cd433;p=xsetbg.git diff --git a/xsetbg.py b/xsetbg.py index d3336ad..930a65f 100755 --- a/xsetbg.py +++ b/xsetbg.py @@ -107,9 +107,7 @@ import anydbm, shelve 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')