summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-10-21 06:09:04 -0500
committerMichael E Brown <mebrown@michaels-house.net>2007-10-21 06:09:04 -0500
commitd115ea6765917221d8113459f381267598f4e076 (patch)
treeb7fe8a261dc1c90490d51472a4d984c4c309cdf5 /src
parent45582aa0479f04515cf19803e6f8df16efae7af7 (diff)
downloadmock-d115ea6765917221d8113459f381267598f4e076.tar.gz
mock-d115ea6765917221d8113459f381267598f4e076.tar.xz
mock-d115ea6765917221d8113459f381267598f4e076.zip
update copyrights. dont put full header in every source file, just ref main copying.
Diffstat (limited to 'src')
-rw-r--r--src/mock.c8
-rw-r--r--src/py-libs/backend.py21
-rw-r--r--src/py-libs/exception.py21
-rw-r--r--src/py-libs/plugins/ccache.py21
-rw-r--r--src/py-libs/plugins/root_cache.py21
-rw-r--r--src/py-libs/plugins/yum_cache.py21
-rwxr-xr-xsrc/py-libs/trace_decorator.py3
-rw-r--r--src/py-libs/uid.py21
-rw-r--r--src/py-libs/util.py21
9 files changed, 31 insertions, 127 deletions
diff --git a/src/mock.c b/src/mock.c
index ff4e28a..181dbc8 100644
--- a/src/mock.c
+++ b/src/mock.c
@@ -1,7 +1,10 @@
-// vim:tw=0:sw=4:ts=4:ai:
+// vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=c:textwidth=0:
//
// mock.c - setuid program for launching mock.py
//
+// Copyright (c) 2006 - Clark Williams <williams@redhat.com>
+// portions lifted from mock-helper.c by Seth Vidal
+// namespace idea courtesy Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -17,9 +20,6 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
-// Copyright (c) 2006 - Clark Williams <williams@redhat.com>
-// portions lifted from mock-helper.c by Seth Vidal
-// namespace idea courtesy Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#define _GNU_SOURCE
diff --git a/src/py-libs/backend.py b/src/py-libs/backend.py
index 542dad4..47fa8bf 100644
--- a/src/py-libs/backend.py
+++ b/src/py-libs/backend.py
@@ -1,22 +1,9 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
+# License: GPL2 or later see COPYING
+# Originally written by Seth Vidal
# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# Major reorganization and adaptation by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
import fcntl
diff --git a/src/py-libs/exception.py b/src/py-libs/exception.py
index 1594bb2..aee93b9 100644
--- a/src/py-libs/exception.py
+++ b/src/py-libs/exception.py
@@ -1,22 +1,9 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
+# License: GPL2 or later see COPYING
+# Originally written by Seth Vidal
# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# Major reorganization and adaptation by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
from exceptions import Exception
diff --git a/src/py-libs/plugins/ccache.py b/src/py-libs/plugins/ccache.py
index f2f9d63..7e49221 100644
--- a/src/py-libs/plugins/ccache.py
+++ b/src/py-libs/plugins/ccache.py
@@ -1,22 +1,7 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
-# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# License: GPL2 or later see COPYING
+# Written by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
import logging
diff --git a/src/py-libs/plugins/root_cache.py b/src/py-libs/plugins/root_cache.py
index add7b19..9797531 100644
--- a/src/py-libs/plugins/root_cache.py
+++ b/src/py-libs/plugins/root_cache.py
@@ -1,22 +1,7 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
-# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# License: GPL2 or later see COPYING
+# Written by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
import fcntl
diff --git a/src/py-libs/plugins/yum_cache.py b/src/py-libs/plugins/yum_cache.py
index e375a69..1feb3ef 100644
--- a/src/py-libs/plugins/yum_cache.py
+++ b/src/py-libs/plugins/yum_cache.py
@@ -1,22 +1,7 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
-# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# License: GPL2 or later see COPYING
+# Written by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
import logging
diff --git a/src/py-libs/trace_decorator.py b/src/py-libs/trace_decorator.py
index b5389c6..391f346 100755
--- a/src/py-libs/trace_decorator.py
+++ b/src/py-libs/trace_decorator.py
@@ -1,4 +1,7 @@
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
+# License: GPL2 or later see COPYING
+# Written by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
import types
from decorator import decorator
diff --git a/src/py-libs/uid.py b/src/py-libs/uid.py
index 22fbb0c..fe2317f 100644
--- a/src/py-libs/uid.py
+++ b/src/py-libs/uid.py
@@ -1,22 +1,7 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
-# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# License: GPL2 or later see COPYING
+# Written by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
import logging
diff --git a/src/py-libs/util.py b/src/py-libs/util.py
index 7e03cc3..7a7b4e4 100644
--- a/src/py-libs/util.py
+++ b/src/py-libs/util.py
@@ -1,22 +1,9 @@
-#!/usr/bin/python -tt
# vim:expandtab:autoindent:tabstop=4:shiftwidth=4:filetype=python:textwidth=0:
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Library General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-# Written by Seth Vidal
+# License: GPL2 or later see COPYING
+# Written by Michael Brown
+# Sections by Seth Vidal
# Sections taken from Mach by Thomas Vander Stichele
-# revised and adapted by Michael Brown
+# Copyright (C) 2007 Michael E Brown <mebrown@michaels-house.net>
# python library imports
import logging