"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2006-2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
import sys
from m_lib.defenc import default_encoding
from xsetbg_db import xsetbg_db
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2004-2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-
import sys
from xsetbg_db import xsetbg_db
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2006-2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
import sys
from time import localtime, asctime
from xsetbg_db import xsetbg_db
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2007-2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
import sys
from sqlobject import SQLObjectNotFound
from sqlobject.sqlbuilder import Insert
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
import os
from sqlobject import SQLObjectNotFound
from sqlobject.sqlbuilder import Insert, Update, Delete
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-
import sys
import dbus
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
-__license__ = "GNU GPL"
-
import gobject
import dbus
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-
from wsgiref import simple_server
from wsgiref.handlers import SimpleHandler
from wsgiref.simple_server import WSGIServer, make_server
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2000-2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-__all__ = ['change']
-
from fcntl import flock, LOCK_EX, LOCK_UN, LOCK_NB
from datetime import timedelta
import os
from xsetbg_conf import xsetbg_dir, xsetbg_conf
from xsetbg_db import xsetbg_db
+__all__ = ['change']
+
def error(error_str):
sys.exit("%s: Error: %s\n" % (sys.argv[0], error_str))
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2014 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-__all__ = ['xsetbg_conf']
-
import os
from ConfigParser import SafeConfigParser
+__all__ = ['xsetbg_conf']
+
config_dirs = []
if 'XDG_CONFIG_HOME' in os.environ:
config_dirs.append(os.environ['XDG_CONFIG_HOME'])
"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2014, 2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
-__all__ = ['xsetbg_db_path', 'xsetbg_db']
-
import os
from sqlobject import SQLObject, connectionForURI, sqlhub, \
UnicodeCol, IntCol, BoolCol, DatabaseIndex, dberrors
from xsetbg_conf import xsetbg_conf
+__all__ = ['xsetbg_db_path', 'xsetbg_db']
+
# octal; -rw-------; make the database file(s) readable only by the user
os.umask(0066)