From cdffc4b36468a4d72497c25ec4a3bf1f54fe1b3f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 5 Jun 2016 03:08:11 +0300 Subject: [PATCH] Remove outdated __copyright__ --- dump_db.py | 4 ---- print-filename.py | 5 ----- print-stats.py | 4 ---- reload_db.py | 4 ---- rescan_fs.py | 4 ---- xsetbg-dbus-client.py | 5 ----- xsetbg-dbus.py | 4 ---- xsetbg-wsgi.py | 5 ----- xsetbg.py | 8 ++------ xsetbg_conf.py | 8 ++------ xsetbg_db.py | 8 ++------ 11 files changed, 6 insertions(+), 53 deletions(-) diff --git a/dump_db.py b/dump_db.py index 2bdffed..ea6b0f1 100755 --- a/dump_db.py +++ b/dump_db.py @@ -5,10 +5,6 @@ This file is a part of XSetBg. """ -__author__ = "Oleg Broytman " -__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 diff --git a/print-filename.py b/print-filename.py index 518ab21..676aed2 100755 --- a/print-filename.py +++ b/print-filename.py @@ -7,11 +7,6 @@ This file is a part of XSetBg. """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2004-2015 PhiloSoft Design" -__license__ = "GNU GPL" - - import sys from xsetbg_db import xsetbg_db diff --git a/print-stats.py b/print-stats.py index a87ad5c..415688e 100755 --- a/print-stats.py +++ b/print-stats.py @@ -5,10 +5,6 @@ This file is a part of XSetBg. """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2006-2015 PhiloSoft Design" -__license__ = "GNU GPL" - import sys from time import localtime, asctime from xsetbg_db import xsetbg_db diff --git a/reload_db.py b/reload_db.py index f6dff81..3c9c56e 100755 --- a/reload_db.py +++ b/reload_db.py @@ -5,10 +5,6 @@ This file is a part of XSetBg. """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2007-2015 PhiloSoft Design" -__license__ = "GNU GPL" - import sys from sqlobject import SQLObjectNotFound from sqlobject.sqlbuilder import Insert diff --git a/rescan_fs.py b/rescan_fs.py index 82dbcf8..07d3fa3 100755 --- a/rescan_fs.py +++ b/rescan_fs.py @@ -7,10 +7,6 @@ This file is a part of XSetBg. """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2015 PhiloSoft Design" -__license__ = "GNU GPL" - import os from sqlobject import SQLObjectNotFound from sqlobject.sqlbuilder import Insert, Update, Delete diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py index 6775159..e3a7825 100755 --- a/xsetbg-dbus-client.py +++ b/xsetbg-dbus-client.py @@ -3,11 +3,6 @@ """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" -__license__ = "GNU GPL" - - import sys import dbus diff --git a/xsetbg-dbus.py b/xsetbg-dbus.py index 48c3f66..7e724b6 100755 --- a/xsetbg-dbus.py +++ b/xsetbg-dbus.py @@ -3,10 +3,6 @@ """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" -__license__ = "GNU GPL" - import gobject import dbus diff --git a/xsetbg-wsgi.py b/xsetbg-wsgi.py index c682d4e..f4b7873 100755 --- a/xsetbg-wsgi.py +++ b/xsetbg-wsgi.py @@ -3,11 +3,6 @@ """ -__author__ = "Oleg Broytman " -__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 diff --git a/xsetbg.py b/xsetbg.py index 98b8aaa..1aea77f 100644 --- a/xsetbg.py +++ b/xsetbg.py @@ -6,12 +6,6 @@ using xli program. """ -__author__ = "Oleg Broytman " -__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 @@ -24,6 +18,8 @@ from time import time 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)) diff --git a/xsetbg_conf.py b/xsetbg_conf.py index 368667c..1066bfa 100755 --- a/xsetbg_conf.py +++ b/xsetbg_conf.py @@ -3,15 +3,11 @@ """ -__author__ = "Oleg Broytman " -__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']) diff --git a/xsetbg_db.py b/xsetbg_db.py index 71055c0..53e0e3c 100755 --- a/xsetbg_db.py +++ b/xsetbg_db.py @@ -3,17 +3,13 @@ """ -__author__ = "Oleg Broytman " -__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) -- 2.39.2